Friday, December 30, 2011

Lock Your Folder For Privacy


When it comes to using internet or shared PC, considering privacy is very important. While some using different accounts on the same computer, there are times when you need to lock your files and documents in a folder for privacy sake. 

http://icons.iconarchive.com/icons/mattahan/umicons/128/Folder-Locked-Folder-icon.png 
Some could have winzip or winrar in their mind. That's okay, but it's always good to learn new tricks about your computer and specially those that doesn't require any program for your purposes. 


So today, I'll show you how to lock your folder without any program. 

1. Copy this code into a notepad. 

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" 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-08002B30309 D}"
attrib +h +s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}"
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-08002B30309 D}"
ren "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

2. Change the text in red with your password

3. Now save as (locker.bat) and an MS-DOS file will be created wherever you saved that.

4 . When you click on that it to open, a folder will be created named (Locker)

5. Take all you files that you want to save and put them inside this folder. 

6. Now, click on the MS-DOS file again and when it asks you if you want to 
lock this folder type (y).

7.  And you're done!
Do tell me how did it turn out with you =) 

0 comments:

Post a Comment

Inspired ?! Want to say your thoughts ~!? Feel free to write down whatever your heart desires to I'd love hearing from you even a simple THANK YOU will do it ~㋡

 
Related Posts Plugin for WordPress, Blogger...