Pages

Wednesday, October 31, 2012

Lock Folder without using any Software.

Lock Folder without using any Software.


Sometimes we want to Lock Folder to Hide our Private Files and Personal Data from other Users of Computer. We would find many Softwares in market for Folder Lock but many of them not Works or if works then they require Registration which is not Possible without Money or Cracks. So here is a Trick to Lock Folder i.e. make a Folder Lock which is very Easy to Use and is Safe. To make the Folder Lock follow these simple steps

 To make the Folder Lock follow these simple steps :
1) Open Notepad.
2) Copy and Paste the following Code into Notepad

 
cls
@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%== type the password here 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
echo Locker created successfully
goto End
:End


) In this Code ( line 23 ), there is written “type the password here” ( without quotes ), just write the password needed in place of “type the password here”.
4) Save it as Locker.bat.
5) Now Double Click on Locker.bat. This will Create Folder named "Locker" Automatically. After this Copy and Paste the Contents to be Locked inside the Locker Folder and Run Locker.bat again. Now it will ask to Lock the Folder. Just type “y” ( without quotes ) and press Enter.
6) The Folder now get Dissappered which means Folder is Locked. Now no one can see the Files of the Locked Folder.
7) Now to Unlock the Folder, Double Click on Locker.bat. It will ask the Password, enter the Password and press Enter. The Folder would Appear. So this is a simple Trick to Lock Folder without using any Software.