So lets get started
First copy the following codes:
cls @ECHO OFF title Folder Locker if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 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-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 goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Locker echo Locker created successfully goto End :End
Now create a file named pass.bat [remember the extension of file is bat]and paste the above copied code and save it.
Now open above file named pass.bat, and this event will create a folder named Locker.
Now copy and paste any files or folder which is to be made secure inside this folder Locker and now again open the batch file pass.bat. Now you will be asked a question
Are you sure u want to Lock the folder(Y/N)?
Now if you press Y then the secret folder will be hidden and secure. If you want to see your files then just open the file pass.bat and it will ask you for a password to unlock the folder.
Remember the password is "password" [though password can be changed by editing the batch file], so type this password and you can again see the hidden folder. And thats how you gonna create a secure location in windows.
Hence the this process involves 5 basic steps:
1. Copy above given code and paste it to a text file and save it as pass.bat
2. Open currently saved file pass.bat and a folder will be created named Locker in the same
location as the file pass.bat
3. Move all your secret contents (files & folders) in the currently created folder Locker
4. Now again open file pass.bat, and it will ask you for locking your folder, and here you
need to press Y.
5. Pressing Y makes the folder hidden and secured. So later if you want to see your files then
just open the file pass.bat and enter the password "password". And you are done.
Though this process seems to be cool and secure, it is not so much secure as done by other third party applications. This methods just remakes our folder as a system files of OS and for this process it actually renames the folder name "locker " to "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}".
So this is the reason that you can still see it if you have unchecked hide the protected operating system files in folder option which is by default checked so you are not seeing the secured folder.
No comments:
Post a Comment