.....Everything a Computer and Its User Needs.....
Google Adsense 2
Create Password Protected Folder without any Software?
Thursday, 30 May 2013
How to Create Password for a folder without any software?
There are many softwares present on the Net which allows us to lock our Folder...
But now i am Going to Show you a new trick which helps to lock folders with out any Software..
Yes you can protect your folder with just Using command prompt ..
Firstly open a New text File and copy the Following code into it..
cls
@ECHO OFF title Folder Private if EXIST "HTG Locker" 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 "HTG Locker" attrib +h +s "HTG Locker" 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 "HTG Locker" ren "HTG Locker" Private echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End
Note: change PASSWORD_GOES_HERE with the Password you want to lock the folder.
After Copying the Text then Save it as locker.bat ...and change the Save as type to All Files..
So, with this your file will be saved with .bat extension...
.bat is nothing but a Batch programming file with allows to perform computer operations.. When this locker.bat file is created ,when you first double click it ..It will Create a Folder named Private
Put all your Confidential and Important files or folders you want to lock... Then after finishing copying...
Again double click the locker.bat file It will ask you to lock the folder or not? in a command prompt window Then click y and press enter..
Then you will See that the Private folder will be Disappeared..
So again if you want to see the files present in the FOlder private..
Double click the locker.bat file..
It will ask you for the password..
Type your password and Press enter ..
Thats it .. Your Folder is back...Dont forget to lock your folder after unlocking...
Enjoy this trick and Share it with your Friends....
No comments:
Post a Comment