::模仿 11# powerbat 写个- @ECHO OFF
- >"%WINDIR%\SYSTEM32\GJ.BAT" (
- ECHO SET "DP=%%*"
- ECHO CALL :DP "%%DP%%"^&EXIT
- ECHO :DP
- ECHO CD.^>"%%~DP1gj.txt"
- )
- REG ADD "HKCR\.txt\ShellNew" /V Command /D "CMD.EXE /C \"%GJ%\" %%2" /F
复制代码 ::还原- REG DELETE "HKCR\.txt\ShellNew" /V Command /F
- DEL/A/F/Q "%WINDIR%\SYSTEM32\GJ.BAT"
复制代码
|