完美解决了:- @echo off
- ::【删除(校验MD5右键菜单)】
- reg delete "HKCR\*\shell\Hash" /f
-
- ::【删除(使用记事本打开右键菜单)】
- reg delete "HKCR\*\shell\Notepad" /f
-
- ::【删除 (加载为...虚拟磁盘右键菜单)】
- reg delete "HKCR\*\shell\ImDiskMountFile" /f
-
- ::【删除 (vbs、reg、bat、txt、cmd打印右键菜单)】
- reg delete "HKEY_CLASSES_ROOT\vbsFile\shell\Print" /f
- reg delete "HKEY_CLASSES_ROOT\regfile\shell\print" /f
- reg delete "HKEY_CLASSES_ROOT\batfile\shell\print" /f
- reg delete "HKEY_CLASSES_ROOT\txtfile\shell\print" /f
- reg delete "HKEY_CLASSES_ROOT\cmdfile\shell\print" /f
-
- ::【删除:(vbs、bat、ini、reg、cmd右键“编辑”)】
- reg delete "HKCR\vbsFile\Shell\Edit" /f
- reg delete "HKCR\batFile\Shell\Edit" /f
- reg delete "HKCR\iniFile\Shell\Edit" /f
- reg delete "HKCR\regFile\Shell\Edit" /f
- reg delete "HKCR\cmdFile\Shell\Edit" /f
-
- ::【删除:( txt 右键“编辑”)
- reg delete "HKCR\SystemFileAssociations\text\shell\edit" /f
- exit
复制代码 *************************************************
原来问题:
删除txt(vbs、reg、 ini)文件右键菜单 编辑 谢谢
*************************************
::【删除:(vbs、txt、bat、ini、reg右键“编辑”)】
reg delete "HKCR\vbsFile\Shell\Edit" /f
reg delete "HKCR\txtFile\Shell\Edit" /f
reg delete "HKCR\batFile\Shell\Edit" /f
reg delete "HKCR\iniFile\Shell\Edit" /f
reg delete "HKCR\regFile\Shell\Edit" /f
********************************
其它解决了,就是txt还有“编辑”
|