|
本帖最后由 hhh333 于 2019-2-27 17:25 编辑
如题,这个是系统本身带有的功能。注册表动一下就可以了。
1、NT5的:
- Windows Registry Editor Version 5.00
- ;用于文件右键-------
- [HKEY_CLASSES_ROOT\*\shell\cmd]
- @="在此处打开命令窗口(&W)"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\*\shell\cmd\command]
- @="cmd.exe"
- ;用于目录右键------------
- [HKEY_CLASSES_ROOT\Directory\shell\cmd]
- @="在此处打开命令窗口(&W)"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
- @="cmd.exe /k cd "%L""
- ;用于目录背景右键----------
- [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
- @="在此处打开命令窗口(&W)"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]
- @="cmd.exe /k cd "%L""
- ;用于盘符右键------------
- [HKEY_CLASSES_ROOT\Drive\shell\cmd]
- @="在此处打开命令窗口(&W)"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
- @="cmd.exe /k cd "%L""
- ;用于我的文档右键------------
- [HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shell\cmd]
- @="在此处打开命令窗口(&W)"
- [HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shell\cmd\command]
- @="cmd.exe /k cd "%L""
复制代码 2、NT6的:
- Windows Registry Editor Version 5.00
- ;用于文件右键-------
- -[HKEY_CLASSES_ROOT\*\shell\cmd]
- [HKEY_CLASSES_ROOT\*\shell\cmd]
- @="@shell32.dll,-8506"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\*\shell\cmd\command]
- @="cmd.exe"
- ;用于目录右键------------
- -[HKEY_CLASSES_ROOT\Directory\shell\cmd]
- [HKEY_CLASSES_ROOT\Directory\shell\cmd]
- @="@shell32.dll,-8506"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
- @="cmd.exe /s /k pushd "%V""
- ;用于目录背景右键----------
- -[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
- [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
- @="@shell32.dll,-8506"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]
- @="cmd.exe /s /k pushd "%V""
- ;用于盘符右键------------
- -[HKEY_CLASSES_ROOT\Drive\shell\cmd]
- [HKEY_CLASSES_ROOT\Drive\shell\cmd]
- @="@shell32.dll,-8506"
- "icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
- @="cmd.exe /s /k pushd "%V""
- ;用于我的文档右键------------
- -[HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shell\cmd]
- [HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shell\cmd]
- @="@shell32.dll,-8506"
- [HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shell\cmd\command]
- @="cmd.exe /s /k pushd "%V""
- ;用于库文件夹右键(只能对库文件夹下的子文件夹,对库本身会出错,因库只是一个集合名称并无具体位置)------------
- -[HKEY_CLASSES_ROOT\LibraryFolder\shell\cmd]
- [HKEY_CLASSES_ROOT\LibraryFolder\shell\cmd]
- @="@shell32.dll,-8506"
- "Icon"="cmd.exe"
- [HKEY_CLASSES_ROOT\LibraryFolder\shell\cmd\command]
- @="cmd.exe /s /k pushd "%V""
复制代码 导入到software注册表,以述很清楚了,不再解释。文件传上来吧,直接拷贝上文有些字符丢了:
CMD右键这里打开.7z
(1.13 KB, 下载次数: 30)
|
|