Liked us?

d

Cool method to lock folder 0

Coder Himanshu | Monday, January 10, 2011 | , , ,




Hiiiii Readers !!!!!! Today I will tell you about a amazing trick by which you can make a folder inaccessible to others by password protecting a folder.Though there are hundreds of folder locking software present in the net.But I will teach you how to password protect any folder without the help of any software.

Here it follows:-

1: Copy the content written in italic below

cls
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}” 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 your 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
md Locker
echo Locker created successfully
goto End
:End


2: The text which is written in bold letters delete it & type u r password there.

3: Save that file by extension .bat ( name is u r choice)

4 : Now double click the file you have just saved

5: You will see the locker folder .

6: Save the files in that folder .

7: Double click on that folder & lock that folder

8: After lock that folder it will become hidden.

9:To open that folder double click on that bat file

10: Type your password & open that folder .

* You can change the title by changing the words written in green



Pass a comment if you like this
                      

0 Responses So Far:

Drop Your Comments, Suggestions And Questions Below.

To Be Notified Of Replies Click The 'Subscribe By Email' Link Below The Comment Form.

Do Not Add Links To The Body Of Your Comment As They Will Not Be Published.