找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 1459|回复: 8

添加右键显示隐藏 系统文件+扩展文件,不知哪里出错了

[复制链接]
发表于 2018-6-21 23:17:34 | 显示全部楼层 |阅读模式
添加右键显示隐藏 系统文件+扩展文件,不知哪里出错了。请高手帮忙修改,谢谢!
右键显隐系统文件 扩展文件.rar (1.21 KB, 下载次数: 27)



发表于 2018-6-21 23:20:49 | 显示全部楼层
右键显隐, 如此方便, 隐有何意.
回复

使用道具 举报

 楼主| 发表于 2018-6-21 23:44:45 | 显示全部楼层
是的,忘记了可以贴代码:

SuperHidden.vbs:
'Show/Hide System Files
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
sTitle1 = "SSH=0"
sTitle2 = "SSH=1"
if WSHShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden") = 1 then
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden", "0", "REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "2", "REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt", "1", "REG_DWORD"
WSHShell.RegWrite "HKCR\CLSID\{00000000-0000-0000-0000-000000000012}\Instance\InitPropertyBag\command", "显示系统文件+扩展名","REG_SZ"
WSHShell.SendKeys "{F5}+{F10}e"'WSHShell.Popup "Poof, they're gone!", 1, sTitle1, vbInformationelseWSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden", "1","REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "1","REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt", "0","REG_DWORD"
WSHShell.RegWrite "HKCR\CLSID\{00000000-0000-0000-0000-000000000012}\Instance\InitPropertyBag\command", "隐藏系统文件+扩展名", "REG_SZ"
WSHShell.SendKeys "{F5}+{F10}e"'WSHShell.Popup "Here they are!", 1, sTitle2, vbInformationend ifSet WSHShell = NothingWScript.Quit(0)

SuperHidden.reg:
REGEDIT4[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\SuperHidden]@="{00000000-0000-0000-0000-000000000012}"</p>[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\InProcServer32]@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,73,\68,64,6f,63,76,77,2e,64,6c,6c,00"ThreadingModel"="Apartment"[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\Instance]"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\Instance\InitPropertyBag]"method"="ShellExecute""Param1"="SuperHidden.vbs""command"="显示/隐藏系统文件+扩展名""CLSID"="{13709620-C279-11CE-A49E-444553540000}"[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ShowSuperHidden"=dword:00000000"Hidden"=dword:00000002

估计reg注册表文件应该没问题。。。

点评

格式都是错乱的...  详情 回复 发表于 2018-6-22 09:13
回复

使用道具 举报

发表于 2018-6-22 00:22:48 | 显示全部楼层
全部格式错的
回复

使用道具 举报

发表于 2018-6-22 09:13:31 | 显示全部楼层
本帖最后由 holley2008 于 2018-6-22 09:21 编辑
飞越彩泓 发表于 2018-6-21 23:44
是的,忘记了可以贴代码:

SuperHidden.vbs:


格式都是错乱的...
2018-06-22_091921.png

reg文件多了一个</p>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-5-4 01:06

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表