跳转至

常用批处理

右键打开菜单

reg add HKEY_CLASSES_ROOT\*\shell\SublimeText3 /t REG_SZ /d "用 SublimeText3 打开"
reg add HKEY_CLASSES_ROOT\*\shell\SublimeText3 /v Icon /t REG_SZ /d "%~dp0sublime_text.exe,0"
reg add HKEY_CLASSES_ROOT\*\shell\SublimeText3\command /t REG_SZ /d "%~dp0sublime_text.exe \"%%1\""
reg add HKEY_CLASSES_ROOT\Directory\shell\SublimeText3 /t REG_SZ /d "用 SublimeText3 打开"
reg add HKEY_CLASSES_ROOT\Directory\shell\SublimeText3 /v Icon /t REG_SZ /d "%~dp0sublime_text.exe,0"
reg add HKEY_CLASSES_ROOT\Directory\shell\SublimeText3\command /t REG_SZ /d "%~dp0sublime_text.exe \"%%1\""

右键从此处打开

reg add HKEY_CLASSES_ROOT\Directory\Background\shell\在此处打开终端窗口 /v Icon /t REG_SZ /d "%~dp0icons\shell.ico"
reg add HKEY_CLASSES_ROOT\Directory\Background\shell\在此处打开终端窗口\command /t REG_SZ /d "\"%~dp0base\conemu-maximus5\ConEmu.exe\" /Icon \"%~dp0icons\shell.ico\" /here  /Title \"终端\" /LoadCfgFile \"%~dp0config\ConEmu.xml\" /Single"

添加快捷方式

set path=%~dp0\Network\Firefox 46.0 渗透便携版 T00LS beta3\firefox\火狐渗透便携版.exe
set topath="%USERPROFILE%\desktop\Firefox.url"
echo [InternetShortcut] > %topath%
echo URL="%path%" >> %topath%
echo IconIndex=0 >> %topath%
echo IconFile=%path% >> %topath%

右键新建文件

reg add HKEY_CLASSES_ROOT\.py\ShellNew /v "NullFile" /t REG_SZ
reg add HKEY_CLASSES_ROOT\.bat\ShellNew /v "NullFile" /t REG_SZ
reg add HKEY_CLASSES_ROOT\.php /t REG_SZ /d ".php"
reg add HKEY_CLASSES_ROOT\.php\ShellNew /v "NullFile" /t REG_SZ