复制代码
- ================
- Echo.
- Set password=:
- Set /p password= 密码:
- Set "password=%password:"=%"
- If not "%password%"=="%pass_word%" goto error
- cls
- echo.
- echo 密码输入成功
- echo.
- echo ..............................
- echo.
- set d=
- set /p d= 请直接将文件夹拖入到此:
- set e=%d%.\
- rd /S /Q %e% || del /F /A /Q %e%|| goto 5
- goto ok
- :5
- Goto star
- :51
- set d=
- set /p d= 请直接将文件夹拖入到此:
- attrib +s +a +h +r %d%
- goto ok
- :6
- cls
- title 文件夹伪装-帮助
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Echo 文件夹伪装-帮助
- Echo.
- Echo 本程序功能强大,可自设工作路径
- Echo 具有多种复杂形式伪装
- Echo.
- Echo 注! 1.很容易解密,机密文件请不要
- Echo 使用本程序,以防盗取
- Echo 2.不要在桌面创建伪装文件夹.
- Echo. 3.打开删除解除伪装文件夹需用密码.
- Echo.
- Echo.
- Echo 工作路径: %cdname% 现在时刻:%date% %time%
- Echo.
- Echo 任意键返回菜单...
- Echo
- ==============================================
- ================
- Echo.
- pause >nul
- Goto star
- :7
- cls
- title 文件夹伪装-其他
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Echo 文件夹伪装-其他
- Echo.
- Echo 作用:本伪装用于将文件夹伪装成系统类型文件夹
- Echo. 如:回收站、控制面板、打印机等
- Echo. 注意:1.请确定要在当前目录下操作.
- Echo 2.如果不在当前目录下,请输入完整路径.
- Echo 3.加密文件夹请直接输入文件夹名.
- Echo.
- Echo G.更多伪装 5.返回菜单 6.使用帮助 0.退出
- Echo.
- Echo 工作路径: %cdname% 现在时刻:%date% %time%
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Set filename=:
- Set /p filename= 请输入选择:
- Set "filename=%filename:"=%"
- If "%filename%"==":" Goto 7
- If "%filename%"=="5" Goto 5
- If "%filename%"=="6" Goto 6
- If "%filename%"=="0" Goto 0
- If "%filename%"=="g" Goto ddd
- :0
- title 文件夹伪装-退出
- cls
- color 0f
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Echo.
- Echo.
- Echo 谢 谢 使 用
- Echo.
- Echo.
- Echo ^^ ^^
- Echo.
- Echo ---
- Echo.
- Echo @Bye@
- Echo.
- Echo.
- Echo.
- Echo 有问题请发邮件myfiyag@163.com QQ:345714579
- Echo.
- Echo.
- Echo
- ==============================================
- ================
- ping -n 4 127.0.0.1 >nul
- ping -n 4 127.0.0.1 >nul
- Exit
- :ok
- cls
- title 文件夹伪装-成功
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Echo.
- Echo.
- Echo 你的操作已经被成功执行.
- Echo.
- Echo.
- Echo.
- Echo 工作路径: %cdname% 现在时刻:%date% %time%
- Echo.
- Echo.
- echo 请稍等,正在返回主菜单...
- echo.
- echo.
- Echo
- ==============================================
- ================
- Echo.
- ping -n 4 127.0.0.1 >nul
- Goto star
- :Error
- cls
- title 文件夹伪装-错误
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Echo 错误信息
- Echo.
- Echo 1.输入的路径不正确(路径错误).
- Echo 2.文件夹已经存在(新建错误).
- Echo 3.文件夹不存在(打开错误).
- Echo 4.文件夹名包含非法字符/\:*"?|<>(新建错误).
- Echo 5.要删除的文件夹正在使用(删除错误).
- Echo 6.用户没有操作权限.
- Echo 7.密码错误.
- Echo 8.错误输入或其他.
- Echo.
- Echo.
- Echo 工作路径: %cdname% 现在时刻:%date% %time%
- Echo.
- Echo 任意键返回菜单...
- Echo
- ==============================================
- ================
- Echo.
- pause >nul
- Goto star
- :ddd
- cls
- color b0
- title 伪装文件夹-more
- mode con lines=28 cols=64
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Echo 其它文件夹伪装
- Echo.
- Echo a.将文件夹伪装成拨号网络.
- Echo b.将文件夹伪装成打印机.
- Echo c.将文件夹伪装成网上邻居.
- Echo d.将文件夹伪装成控制面板.
- echo e.将文件夹伪装成我的电脑
- echo f.将文件夹伪装成回收站
- echo h.将文件夹伪装成计划认务
- echo i.将文件夹伪装成Internet
- echo j.将文件夹伪装成无关联文件
- echo k.显示隐藏文件.
- echo l.显示文件扩展名.
- Echo. y.解除伪装.
- Echo 注意:只能处理当前目录下文件夹,
- Echo 否则可能产生错误信息.
- Echo.
- Echo 5.返回菜单 6.使用帮助 0.退出
- Echo.
- Echo 工作路径: %cdname% 现在时刻:%date% %time%
- Echo.
- Echo
- ==============================================
- ================
- Echo.
- Set filename=:
- Set /p filename= 请输入选择:
- Set "filename=%filename:"=%"
- If "%filename%"==":" Goto ddd
- If "%filename%"=="a" Goto ddd1
- If "%filename%"=="b" Goto ddd2
- If "%filename%"=="c" Goto ddd3
- If "%filename%"=="d" Goto ddd4
- If "%filename%"=="e" Goto ddd5
- If "%filename%"=="f" Goto ddd6
- If "%filename%"=="h" Goto ddd7
- If "%filename%"=="i" Goto ddd8
- If "%filename%"=="j" Goto ddd9
- If "%filename%"=="k" goto ddd0
- If "%filename%"=="l" goto ddd11
- If "%filename%"=="y" goto ddd12
- If "%filename%"=="0" Goto 0
- If "%filename%"=="5" Goto 5
- If "%filename%"=="6" Goto 6
- :ddd1
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 11
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={992CFFA0-F557-101A-88EC-00DD010CCC48})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :11
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={992CFFA0-F557-101A-88EC-00DD010CCC48})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd2
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 12
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={2227A280-3AEA-1069-A2DE-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :12
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={2227A280-3AEA-1069-A2DE-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd3
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 13
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={208D2C60-3AEA-1069-A2D7-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :13
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={208D2C60-3AEA-1069-A2D7-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
复制代码
- :ddd4
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 14
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={21EC2020-3AEA-1069-A2DD-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :14
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={21EC2020-3AEA-1069-A2DD-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd5
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 15
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={20D04FE0-3AEA-1069-A2D8-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :15
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={20D04FE0-3AEA-1069-A2D8-08002B30309D})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd6
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 16
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={645FF040-5081-101B-9F08-00AA002F954E})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :16
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={645FF040-5081-101B-9F08-00AA002F954E})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd7
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 17
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={D6277990-4C6A-11CF-8D87-00AA0060F5BF})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :17
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={D6277990-4C6A-11CF-8D87-00AA0060F5BF})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd8
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 18
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={FBF23B42-E3F0-101B-8488-00AA003E56F8})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :18
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={FBF23B42-E3F0-101B-8488-00AA003E56F8})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd9
- Set lei=:
- Set /p lei= 请输入文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 19
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={00021401-0000-0000-C000-000000000046})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :19
- Set lei=
- Set /p lei= 输入错误请直接将文件拖入此处:
- attrib +r +s %lei% >nul 2>nul
- (echo [.ShellClassInfo]
- echo CLSID={00021401-0000-0000-C000-000000000046})>C:\tmp
- copy c:\tmp %lei%\desktop.ini>nul 2>nul
- del c:\tmp>nul 2>nul
- attrib +s +h +r +a %lei%\desktop.ini
- Goto ok
- :ddd0
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- Hidden /t reg_dword /d 1 /f
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- HideFileExt /t reg_dword /d 0 /f
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- ShowSuperHidden /t reg_dword /d 1 /f
- echo 正在刷新请稍后。。。。。
- echo Set WSHShell = WScript.CreateObject("WScript.Shell")>temp.vbs
- echo WSHShell.SendKeys "{F5}+{F10}e">>temp.vbs
- ping -n 5 127.0.0.1 >nul
- start temp.vbs
- ping -n 5 127.0.0.1 >nul
- del temp.vbs
- cls
- echo.
- echo 显示隐藏文件成功
- echo 在当前目录下有效
- echo.
- echo.
- Set lei=
- Set /p lei= 若再需隐藏请输入 y 输入任意键返回:
- if not "%lei%"=="y" goto 5
- if "%lei%"=="y" goto yu
- :yu
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- Hidden /t reg_dword /d 00000000 /f
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- HideFileExt /t reg_dword /d 00000001 /f
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- ShowSuperHidden /t reg_dword /d 00000000 /f
- echo 正在刷新请稍后。。。。。
- echo Set WSHShell = WScript.CreateObject("WScript.Shell")>temp.vbs
- echo WSHShell.SendKeys "{F5}+{F10}e">>temp.vbs
- ping -n 5 127.0.0.1 >nul
- start temp.vbs
- ping -n 5 127.0.0.1 >nul
- del temp.vbs
- echo 隐藏文件成功
- echo 在当前目录下有效
- ping -n 4 127.0.0.1 >nul
- goto 5
- :ddd11
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- HideFileExt /t reg_dword /d 00000000 /f
- echo 正在刷新请稍后。。。。。
- echo Set WSHShell = WScript.CreateObject("WScript.Shell")>temp.vbs
- echo WSHShell.SendKeys "{F5}+{F10}e">>temp.vbs
- ping -n 5 127.0.0.1 >nul
- start temp.vbs
- ping -n 5 127.0.0.1 >nul
- del temp.vbs
- cls
- echo.
- echo 显示目录文件扩展名成功
- echo 在当前目录下有效
- echo.
- Set lei=
- Set /p lei= 若需隐藏请输入“z ”;输入任意键返回
- if not "%lei%"=="z" goto 5
- if "%lei%"=="z" goto xu
- :xu
- reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v
- HideFileExt /t reg_dword /d 00000001 /f
- echo 正在刷新请稍后。。。。。
- echo Set WSHShell = WScript.CreateObject("WScript.Shell")>temp.vbs
- echo WSHShell.SendKeys "{F5}+{F10}e">>temp.vbs
- ping -n 5 127.0.0.1 >nul
- start temp.vbs
- ping -n 5 127.0.0.1 >nul
- del temp.vbs
- echo 隐藏目录文件扩展名成功
- echo 在当前目录下有效
- ping -n 4 127.0.0.1 >nul
- goto 5
- :ddd12
- Set password=:
- Set /p password= 密码:
- Set "password=%password:"=%"
- If not "%password%"=="%pass_word%" goto error
- cls
- echo.
- echo 输入密码成功
- echo.
- echo .....................................
- Echo 工作路径: %cdname% 现在时刻:%date% %time%
- echo.
- Set lei=:
- Set /p lei= 请输入解除伪装文件夹名:
- Set "lei=%lei:"=%"
- dir %lei%>nul || goto 19
- attrib -r -s %lei% >nul 2>nul
- attrib -s -h -r -a %lei%\desktop.ini
- del /f /q %lei%\desktop.ini
- echo 解除伪装成功
- ping -n 4 127.0.0.1 >nul
- ping -n 4 127.0.0.1 >nul
- goto star
欢迎光临 批处理之家 (http://bathome.net./) | Powered by Discuz! 7.2 |