1.通过批处理命令,CMD到bat文件所在的路径下
cmdhere.bat:
@echo off cmd .
2.更方便地一种方法是写进注册表里,直接右键可以cmd到当前路径下
cmdhere.reg(要先运行的哦)
REGEDIT4 [HKEY_CLASSES_ROOT*shellcmdhere] @="Cmd&Here" [HKEY_CLASSES_ROOT*shellcmdherecommand] @="cmd.exe /c start cmd.exe /k pushd "%L\.."" [HKEY_CLASSES_ROOTFoldershellcmdhere] @="Cmd&Here" [HKEY_CLASSES_ROOTFoldershellcmdherecommand] @="cmd.exe /c start cmd.exe /k pushd "%L""
注意:需要选中一个文件,再右键,才会出现CmdHere哦
欢迎光临娇娇家的美衣阁 http://shop105984718.taobao.com/