添加右键操作:当前路径打开cmd, 添加用Notepad++打开文件, 删除.svn文件夹, 修改IE查看源文件编辑器

1.  当前路径打开cmd

Manually add the context menu

   1. In explorer, open Tools, Folder Options.
   2. Select the File Types tab.
   3. For Windows XP: Go to NONE / Folder.
   6. Select the entry labeled Folder
   7. For Windows XP: Press Advanced button.
   9. Select New
  10. In the action block type "Command Prompt" without the quotes.
  11. In the app block type "cmd.exe" without the quotes.
  12. Save and exit Folder Options.

Now right click on Start, you should have a new drop down option. Open explorer and right click on a folder, select Command Prompt and a command window opens in that folder.

Read this thread for some information on how to remove the context menu:

HKEY_CLASSES_ROOT\Folder\shell

deleted the ("Command_Prompt") key

That seems to clear out the second entry in:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell

Otherwise, I would have deleted it here also.

I didn't need to reboot to have the change take effect. I just closed all Explorer windows, opened one, right-clicked, and the pick was gone.


或者修改注册表:

#add "Cmd here" in context menu: open cmd in the folder
[HKEY_CLASSES_ROOT\Folder\shell\CmdHere]
@="Command Prompt Here"
[HKEY_CLASSES_ROOT\Folder\shell\CmdHere\command]
@="cmd.exe /d cd \"%1%"


2. 右键添加用notepadd++ 打开

#add "Open with Notepad++" in context menu
[HKEY_CLASSES_ROOT\*\shell\Open with Notepad++\command]
@="<path>\Notepad++\notepad++.exe  %1"


3.  修改IE查看源文件编辑器
#view src with notepad++ in IE
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
@="<path>\Notepad++\notepad++.exe"


4.  删除.svn文件夹

#add "deleteSvnFolder" in context menu. When you select it, it removes all folders named .svn inside the folder and it's children (it does nothing if the project's not under Subversion source control)
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]
@="deleteSvnFolder"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]
@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""
参考 Jon Galloway
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值