Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

How to Password-Protect a Folder in Windows 7 Tutorial

make money online
antony Offline referral

Posts: 478
Joined: Jul 2013
Reputation: 5

Senior Member
Here is a very easy and effective way to Password-Protect a Folder in Windows 7 without any external software.

1. Create a new folder and name it whatever you like.

2. Inside the folder create a new text document

3. Inside that new text document past this code and save it as locker.bat. make sure to change the Save as type: to All Files (*.*).

title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
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.
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to unlock folder
set/p "pass=>"
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Private
echo Private created successfully
goto End

Note: Replace the PASSWORD_GOES_HERE with the password you want to use to unlock the folder!!!

4. Now double click the locker.bat. file this will create a new folder called Private this is where you move all your files you want to password protect!

5. Before exiting, double click the locker.bat. file again this will ask you if you want to lock your folder or not, to lock it press Y and the private folder will disappear.

6. In order to show Private folder double click the locker.bat. file and enter the password.
maya Offline referral

Posts: 1,057
Joined: May 2013
Reputation: 34

Posting Freak
Great tutorial thanks for sharing definitely will try. However you can simply install WINZIP or WINRAR and encrypt your files with 64 or 128 bit password.

Google this topic

User(s) browsing this thread: 1 Guest(s)