Tips, Tricks And Computer Info..

About

Movie Category 1

Latest Posts

[3] [recent] [recent] [Lastest Posts]

Subscribe Us

Template Information

Test Footer 2

Movie Category 3

Theme images by hdoddema. Powered by Blogger.

All Movies Collection

Movies of The Week

Recent

[7][recent][recent-right]

Popular Posts

Join This Site On Google Friend

FAQs

[1] [FAQs] [one] [FAQs]

tech

[6] [techbuzz] [slider-left] [Slider Right]

Movie Category 5

techbuzz

[2] [Techbuzz] [one] [Technology]

Movie Category 4

Latest Posts

[5] [dp] [slider-top-big] [Slider Top]
You are here: Home / Lock Your folder..!!

Lock Your folder..!!

| 2 Comments
Today i am gonna share with you an awesome trick which will help you password protect your folder.
and the beauty of this trick is that you don't need any external software, just notepad!!



locking a folder:
follow the simple steps given below..

step 1: Open Notepad( Start->Run->Notepad)

step 2: Copy the Code below and Paste it into Notepad.

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%==infotech 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

Password for the above batch file is set to infotech. You can change it to anything by editing it to your choice in following line:
if NOT %pass%==infotech goto FAIL

Now Save this file with a name anyname.bat(here .bat is the extension).

now a bat file is created
Now double click on bat file and it will ask you for password and Enter Password(for the above code it is mixworld). do not type Y directly
Now you will see a folder named LOCKER in the same location where you saved anyname.bat file.
Open it and fill it with the data you wanna hide.

When you are done with the above press Y in the bat file and hit Enter.

If you forgot your password, then simply open bat file with Notepad Again, and see the password mentioned in the code!
DONE!!