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

Thread: 

How to Password-Protect a Folder in Windows 7 Tutorial

Ads
antony Offline referral

Posts: 478
Joined: Jul 2013
Reputation: 5

#1
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 (*.*).

Code:
cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private 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 Private "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%== PASSWORD_GOES_HERE goto FAIL
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
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
: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.
Thanks
maya Offline referral

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

#2
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.





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