A folder lock code for hiding folder with its contents just working only for Windows 7 Operating System
The code: cls @ECHO OFF title Elmer Baay Folder if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST ElmerBaayFolder goto MDMyFolder :CONFIRM echo Are you sure to lock this 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 ElmerBaayFolder "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 Your Secure Folder set/p "pass=>" if NOT %pass%== ElmerBaay goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ElmerBaayFolder echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDMyFolder md ElmerBaayFolder echo ElmerBaayFolder created successfully goto End :End Requirements to work: 1.) Working only for Windows 7 Operating System 2.) The code must be write in notepad and save the file as ".bat" file extension not ".txt" 3.) Need to create a new folder named "ElmerBaayFolder" or you can edit the folder name as you want 4.) Default password to show the hiden folder is "ElmerBaay" or you can edit the password as you want
0 Comments
|