@color 0A
@title 添加右键菜单命令 在此处打开命令窗口(^&E)(带图标) by wjshan0808
@echo off
reg add HKCR\Directory\Background\shell\在此处打开命令窗口(&E) /v Icon /t reg_expand_sz /d %ComSpec% /f
reg add HKCR\Directory\Background\shell\在此处打开命令窗口(&E)\command /ve /t reg_sz /d "%ComSpec%" /f
echo reg add HKCR\Directory\Background\shell\在此处打开命令窗口(&E)\command /ve /t reg_sz /d "%ComSpec% /s /k pushd %USERPROFILE%" /f >nul
reg add HKCR\Directory\shell\cmd /v Icon /t reg_expand_sz /d %ComSpec% /f
echo reg add HKCR\Directory\shell\cmd /v Extended /t reg_sz /d "" /f >nul
reg delete HKCR\Directory\shell\cmd /v Extended /f
reg add HKCR\Drive\shell\cmd /v Icon /t reg_expand_sz /d %ComSpec% /f
echo reg add HKCR\Drive\shell\cmd /v Extended /t reg_sz /d "" /f >nul
reg delete HKCR\Drive\shell\cmd /v Extended /f
添加右键菜单命令 在此处打开命令窗口(W)(带图标).bat