Wednesday, August 15, 2012

Lock and hide you files......

Now I gonna tell you about locking and hiding your pc files.
a simple and small notepad software can lock and hide your files.

simply type the code into your notepad and save the file named locker.bat


   cls
:End
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==bablu goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
69



in the red area of this code is your password, you can change it by typing your own word.

then put this locker.bat file into the folder of files that you want to lock and hide.

double click on the locker.bat file and enter your password and see there will automatically create a folder named locker in your location

then put your files to locker folder.
then again double click on locker.bat file, type y and press enter...


now  enjoy your locker....

No comments:

Post a Comment