标签:
@color 0A @title 添加右键菜单命令 在此处打开命令窗口(W)(带图标) by wjshan0808 @echo off reg add HKCR\Directory\Background\shell\在此处打开命令窗口(W) /v Icon /t reg_expand_sz /d %ComSpec% /f reg add HKCR\Directory\Background\shell\在此处打开命令窗口(W)\command /ve /t reg_sz /d "%ComSpec%" /f echo reg add HKCR\Directory\Background\shell\在此处打开命令窗口(W)\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
标签:
原文地址:http://www.cnblogs.com/wjshan0808/p/5172223.html