标题: [注册表类] [已解决]批处理删除txt(vbs、reg、 ini)文件右键菜单 编辑 谢谢 [打印本页]
作者: yyz219 时间: 2023-1-5 10:54 标题: [已解决]批处理删除txt(vbs、reg、 ini)文件右键菜单 编辑 谢谢
完美解决了:- @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还有“编辑”
作者: WHY 时间: 2023-1-5 14:35
reg delete HKCR\SystemFileAssociations\text\shell\edit /f
试试 注意备份
作者: yyz219 时间: 2023-1-5 14:50
reg delete HKCR\SystemFileAssociations\text\shell\edit /f
试试 注意备份
WHY 发表于 2023-1-5 14:35
成功了 非常感谢
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |