打开cmd并设置路径为 当前的explorer路径

方法1、WIN7 自带功能
按住shift键再 单击鼠标右键,菜单中就会出现 “在此处打开命令窗口(W)” 选项了

转自: http://blog.sciencenet.cn/blog-71139-510654.html


方法2、用autohotkey设置全局热键
搜到一段很好用的autohotkey代码,比上面的方便多了~~~
#p::      ;  设置快捷键为 WIN + P 
ifwinactive,ahk_class CabinetWClass
{
  ControlGetText, address , edit1,ahk_class CabinetWClass
  Run, cmd.exe, %address%
}
else
Run, cmd.exe


转自: http://www.autohotkey.com/board/topic/67925-open-a-command-prompt-window-on-the-current-explorer-path/

猜你喜欢

转载自cherishlc.iteye.com/blog/1901217
今日推荐