myfiyag
初级用户
积分 23
发帖 21
注册 2009-5-25
状态 离线
|
『楼 主』:
文件夹伪装
文件夹伪装大全批处理是包含隐藏文件、删不掉打不开的文件、伪装的各种系统文件(如:我的电脑、回收站等)、打开删除解除伪装文件等等的具有强大功能的批处理集,本批处理还具有设置操作路径、密码进入打开删除解除功能。(密码:123)
将下面文字复制粘贴到记事本另存为:文件夹伪装.bat 即可使用,自定义密码请将红色123改为你需要的密码就ok .(不要启动特效可将蓝色部分删掉)
@Echo Off
setlocal enabledelayedexpansion
title 文件夹伪装 宏洲制作QQ:345714579
@mode con cols=71 lines=3
set ti=███
echo 载入中……
for /l %%x in (0,1,2000) do ver>nul
echo.
for /l %%a in (1 1 10) do (
(set /a xs=%%a*10)
(set "xs= 已载入!xs!")
(set "xs=!xs:~-6!")
(set /p=%ti%!xs!%%<nul)
(set /p=<nul)
for /l %%l in (1,1,1500) do ver>nul)
cls
echo\&echo\
echo 载 入 成 功
@set ,=★☆文件夹伪装☆宏洲制作☆QQ:345714579☆
@for %%a in (%,%)do @set]=%%a
@for /l %%b in (0,1,24) do (
call set/p= %%]:~%%b,1%%<nul
call set/p=★<nul
for /l %%l in (1,1,600) do ver>nul
set/p=<nul)
for /l %%l in (1,1,1500) do ver>nul
:star
Set pass_word=123
setlocal enabledelayedexpansion
mode con lines=22 cols=64
color 1f
Set cdname=%cd%
cls
title 文件夹伪装 宏洲制作QQ:345714579
Echo.
Echo ==============================================================
Echo.
Echo 多功能文件夹伪装
Echo.
Echo %username% 欢迎使用
Echo.
Echo 1.设置工作路径
Echo 2.新建文件夹
Echo 3.打开文件夹
Echo 4.删除文件夹(强制删除)
Echo 5.隐藏文件(夹)
Echo 6.使用帮助
Echo 7.其他伪装
Echo k.显示隐藏文件
echo L.显示文件扩展名
echo 0.退出
Echo.
Echo 工作路径: %cdname% 现在时刻:%date% %time%
Echo.
Echo ==============================================================
Echo.
Set no=:
Set /p no= 请选择:
Set "no=%no:"=%"
If "%no%"==":" Goto star
If "%no%"=="1" Goto 1
If "%no%"=="2" Goto 2
If "%no%"=="3" Goto 3
If "%no%"=="4" Goto 4
If "%no%"=="5" Goto 51
If "%no%"=="6" Goto 6
If "%no%"=="7" Goto 7
If "%no%"=="k" goto ddd0
If "%no%"=="l" goto ddd11
If "%no%"=="0" Goto 0
Goto star
:1
cls
echo 设置工作路径
Echo.
Echo ==============================================================
Echo.
Echo.
Echo.
Echo 工作路径:%cdname% 现在时刻:%date% %time%
Echo.
Echo.
Echo ==============================================================
Echo.
Set /p cdname= 请输入路径:
Set "cdname=%cdname:"=%"
If Exist "%cdname%" (Cd /d "%cdname%" >nul 2>nul && set "%cdname%=%cd%" || Goto star) Else Set cdname=%Cd% & Goto star
Goto ok
:2
cls
title 新建文件夹
Echo.
Echo ==============================================================
Echo.
Echo 文件夹伪装-新建
Echo.
Echo 作用:用于新建一个文件夹
Echo.
Echo 注意:1.请确定是否在当前路径下新建.
Echo 2.可返回菜单设置当前工作路径.
echo 3.文件夹名不能包含非法字符.
Echo. 4.在桌面创建的文件夹将无法使用.
Echo 5.返回菜单 6.使用帮助 0.退出
Echo.
Echo 工作路径: %cdname% 现在时刻:%date% %time%
Echo.
Echo ==============================================================
Echo.
Set new=:
Set /p new=请输入要新建的文件夹名:
Set "new=%new:"=%"
If "%new%"==":" Goto 2
If "%new%"=="5" Goto 5
If "%new%"=="6" Goto 6
If "%new%"=="0" Goto 0
If Exist %new%..\ goto error
(md %new%..\ || goto error)
goto ok
:3
cls
title 打开伪装文件夹
Echo.
Echo ==============================================================
Echo.
Echo 文件夹伪装-打开
Echo 需用密码进入
Echo 作用:用于打开一个文件夹
Echo. 注!桌面伪装文件夹不能打开
Echo.
Echo 5.返回菜单 6.使用帮助 0.退出
Echo.
Echo 工作路径: %cdname% 现在时刻:%date% %time%
Echo.
Echo ==============================================================
Echo.
Set password=:
Set /p password= 密码:
Set "password=%password:"=%"
If not "%password%"=="%pass_word%" goto error
cls
echo.
echo 输入密码成功
echo.
echo ......................................
echo.
Set open=
Set /p open= 请将要打开文件直接拖入到此:
If "%open%"==":" Goto 3
If "%open%"=="5" Goto 5
If "%open%"=="6" Goto 6
If "%open%"=="0" Goto 0
set f=%open%.\
start %f% || goto 5
goto ok
:4
cls
title 删除伪装文件夹
Echo.
Echo ==============================================================
Echo.
Echo 文件夹伪装-删除
Echo.
Echo 作用:用于删除一个文件夹
Echo.
Echo 例子:如打开"A",结果为删除当前目录下
Echo 名为"A.."的文件夹.
Echo 注意:1.请确定要在当前目录下操作.
Echo 2.文件夹名不能包含非法字符.
Echo 3.如果不在当前目录下,请输入完整路径.
Echo.
Echo 5.返回菜单 6.使用帮助 0.退出
Echo.
Echo 工作路径: %cdname% 现在时刻:%date% %time%
Echo.
Echo ==============================================================
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
|
|