添加右键操作:当前路径打开cmd, 添加用Notepad++打开文件, 删除.svn文件夹, 修改IE查看源文件编辑器
来源:互联网 发布:灵界基友网络剧下载 编辑:程序博客网 时间:2024/05/20 13:09
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
- 添加右键操作:当前路径打开cmd, 添加用Notepad++打开文件, 删除.svn文件夹, 修改IE查看源文件编辑器
- 右键添加当前窗口打开cmd
- 文件夹右键添加cmd打开命令
- windows右键添加CMD命令打开文件夹
- 文件夹右键添加cmd打开命令
- Notepad++添加右键打开方式
- IE右键查看源文件不能打开解决方法
- notepad++编辑器打开一个文件时,给文件添加信息
- 修改IE查看源文件的打开方式
- 右键文件夹打开cmd
- Source Insight上添加svn命令,打开当前文件夹命令
- Windows右键添加”使用CMD打开”
- win10下右键菜单添加“打开cmd”
- Windows使用CMD打开当前路径文件夹
- 修改IE浏览器点击右键“查看源文件”时的打开程序
- 文本编辑器添加右键打开方式
- CBuilder 添加自定义工具:打开当前文件所在的文件夹
- 鼠标右键添加“删除svn文件夹”菜单
- VS2008下设置与VC6.0相同的字体
- 社会
- Ubuntu下配置 Eclipse 编译、开发 Hadoop(MapReduce)源代码
- 数据库执行数据变更时乱码
- NSString字符串常用方法
- 添加右键操作:当前路径打开cmd, 添加用Notepad++打开文件, 删除.svn文件夹, 修改IE查看源文件编辑器
- ftp下载上传
- wml编程
- 汉字编码问题
- (6)try_module_get和module_put
- C++中的适配器
- AfxGetMainWnd 返回值
- NSSring转char的方法
- IT女性必备——5个方法变身小腰精