cmdhere的两种方法

1.通过批处理命令,CMD到bat文件所在的路径下

cmdhere.bat:

@echo off
cmd .

  

2.更方便地一种方法是写进注册表里,直接右键可以cmd到当前路径下

cmdhere.reg(要先运行的哦)

REGEDIT4

[HKEY_CLASSES_ROOT\*\shell\cmdhere]
@="Cmd&Here"

[HKEY_CLASSES_ROOT\*\shell\cmdhere\command]
@="cmd.exe /c start cmd.exe /k pushd \"%L\\..\""

[HKEY_CLASSES_ROOT\Folder\shell\cmdhere]
@="Cmd&Here"

[HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command]
@="cmd.exe /c start cmd.exe /k pushd \"%L\""

 注意:需要选中一个文件,再右键,才会出现CmdHere哦

欢迎光临娇娇家的美衣阁 http://shop105984718.taobao.com/

posted on 2014-06-25 16:49  娇娇家的美衣阁  阅读(1215)  评论(0编辑  收藏  举报

导航