BREAKING NEWS

main-nav-top (Do Not Edit Here!)

Sunday, November 17, 2013

How to lock a folder without any software

ts important to lock a folder to save our personal

files...So we can lock a folder by the following ways.

DON'T FORGOT TO KEEP THE PASSWORD IN THE

CODE WHERE IT IS WRITTEN "TYPE YOUR

PASSWORD HERE"

STEP 1: copy the following code into notepad and

save as ".bat". for example we take it as : "key.bat"

cls

@ECHO OFF

title Folder SARAT

if EXIST "Control Panel.{21EC2020-3AEA-1069-

A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST SARAT goto MDLOCKER

:CONFIRM

echo Are you sure you 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 SARAT "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 the 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}" SARAT

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md SARAT

echo SARAT created successfully

goto End

:End

STEP 2: Now a batch file is formed. Now double click

the batch file and a folder named SARAT appears.

Now save all your personal data in it.

STEP 3: Now to lock the folder just double-click on

the file "Key". You will get a confirmation message in

Command Prompt. Type "y" to confirm. Now the

folder "SARAT" will be locked and hidden

STEP 4: If you want to get access to the contents of

the folder then again double-click on the batch file,

you have created. Immediately you will be prompted

to enter your password. After that you can get access

to the folder "SARAT".

That's all its over…. But try to save your batch file in

somewhere in your computer so that it is difficult to

find it for others. But if any of your friends are

computers savvy they can know your password

through the batch file.

Share this:

 
Copyright © 2014 MTT. Designed by OddThemes | Distributed By Gooyaabi Templates