views
Open Notepad. If you aren't sure where it's located on your computer, press ⊞ Win+R. Type notepad and press ↵ Enter.
Copy and paste the code given below carefully: Quote: Quote: 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 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
Save the file with any name followed by extension .bat. (For example: XXX.bat)
Double-click the XXX.bat file icon. It'll create a folder for you under the name 'Private'.
Open the folder, place whatever files/folders you want to keep out of reach of others and close the folder.
Double-click 'XXX.bat' file icon.
Type Y and press ↵ Enter key. It'll hide your the folder immediately. Now, nobody will be able to see that folder anywhere in your computer.
To see the folder again, double-click the XXX.bat icon again. It'll open following window shown in the image. It'll ask you type password to open the folder. Type the password. Default password set is "password". Then press the ↵ Enter key.3693418 9.jpg Open the folder, you can see your data there.3693418 10.jpg <
Comments
0 comment