Your Computer always contains a file that you never want to share with your friends as it can reveal many of your secrets. So you keep it safe by assigning a Password by any Software. So how about doing the same task without any Software....
So here is the way to do this thing.
Create a "New folder" and create a new ‘Text Document’ in it by right-clicking and selecting ‘New’ and then ‘Text document’.Copy - Paste the following code in the text document :
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 tolock 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 unlockfolder set/p "pass=>" if NOT %pass%== password 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
Now locate `Password here` in the code above and change it to whatever password you want to use.
Now click on "File" and then "Save as" and give it any name you so desire but with a .bat extension.
E.g : Lockup.bat
Now,exit notepad and on getting to the new folder you created previously, you'll see a "LOCKER" command.
Double-click on this file and a new folder will appear.
Now,copy/move all the files that you want to hide in this “Private/Confidential” folder and go back one step.
Double-click on the "LOCKER" command again and you'll be greeted with something new.
Just press 'Y' as instructed and hit enter.
Immediately,the ‘PRIVATE / CONFIDENTIAL’ folder will disappear.Now,all your files & documents are secured in this hidden folder.
To undo hiding,double-click on this “Locker” command again and input the password you used above. Hit Enter and the hidden folder will reappear.
So here is the way to do this thing.
Create a "New folder" and create a new ‘Text Document’ in it by right-clicking and selecting ‘New’ and then ‘Text document’.Copy - Paste the following code in the text document :
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 tolock 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 unlockfolder set/p "pass=>" if NOT %pass%== password 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
Now locate `Password here` in the code above and change it to whatever password you want to use.
Now click on "File" and then "Save as" and give it any name you so desire but with a .bat extension.
E.g : Lockup.bat
Now,exit notepad and on getting to the new folder you created previously, you'll see a "LOCKER" command.
Double-click on this file and a new folder will appear.
Now,copy/move all the files that you want to hide in this “Private/Confidential” folder and go back one step.
Double-click on the "LOCKER" command again and you'll be greeted with something new.
Just press 'Y' as instructed and hit enter.
Immediately,the ‘PRIVATE / CONFIDENTIAL’ folder will disappear.Now,all your files & documents are secured in this hidden folder.
To undo hiding,double-click on this “Locker” command again and input the password you used above. Hit Enter and the hidden folder will reappear.
And you are dOnE..............
does it work in windows 7???
ReplyDeletei have not tried it for windows 7 but i think that it will obviously work in it...!!! so just try it out and see the result..!!
Delete