CmdHere is just a
.reg file that adds an entry to Windows Explorer's shortcut menu for files and folders
(local and remote). Selecting this option opens a console window with the same path as that of the file or folder.
cmdhere.reg source:
为了从资源管理器中通过打开DOS窗口,我搜索了一些方法,但是在易用性上,达不到我的要求:
一般只能再文件夹上添加相关菜单,这样为了打开DOS窗口,有的时候我们要往上退回一级,才能弹出相关菜单。
搜索了很多资料,总算找到了一个 方法:
../
一般只能再文件夹上添加相关菜单,这样为了打开DOS窗口,有的时候我们要往上退回一级,才能弹出相关菜单。
搜索了很多资料,总算找到了一个 方法:
CODE |
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/"" |
../