Welcome To My Blog

Pembuatan blog ini sebenar nya ditujukan untuk meng-share informasi-informasi yang saya ketahui yang berasal dari web atau situs-situs lain maupun dari saya sendiri
Powered By Blogger

Kamis, 06 Maret 2008

How To Lock Your Folder

copy to notepad
save as *.bat

@Echo OFF & SetLocal

Set Hidden="Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

IF EXIST %Hidden% (
Call :Unlock
EndLocal
Exit /B
)

IF NOT EXIST Private\NUL Call :MakePrivate

Call :Lock Folder successfully locked.
Echo.
Echo Press any key to exit.
Pause>NUL

EndLocal
Exit /B

:MakePrivate
Call :ShowDisclamer
Set /P Password="Enter New Folder Password> "
Mkdir Private
Echo %Password%>Private\Password.txt
Attrib +h Private\Password.txt
Exit /B

:Lock
Ren Private %Hidden%
Attrib +h +s %Hidden%
Echo %*
Exit /B

:Unlock
Set /P Password="Enter Folder Password> "
Attrib -h -s %Hidden%
Ren %Hidden% Private
Set /P SetPass=IF [%Password%]==[%SetPass%] (
Echo Folder Successfully Unlocked.
Echo.
Echo Press any key to exit.
Pause>NUL
Exit /B
)
Call :Lock Invalid Password.
Echo.
Echo Press any key to exit.
Pause>NUL
Exit /B

:ShowDisclamer
Echo This method of private folder creation is not
Echo secure. It uses a feature of windows to prevent
Echo the file from displaying in windows explorer.
Echo This method can easily be reversed, without need
Echo for a password, the password mechanism is simply
Echo provided to prevent the average user from accessing
Echo your protected files.
Echo.
Exit /B

double klick n fill ur password

then close it n then open it again

fill ur password n it make a private folder

klick bat file to lock ur folder

have Fun
~Zenixgrace~

Tidak ada komentar: