Jump to content

User:Razoroo11

From Wikipedia, the free encyclopedia

My Batch Files

cls @ECHO OFF title Folder Other if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Other goto MDLOCKER

CONFIRM

echo Are you sure u want to Lock the folder? Color F0 echo Yes/No set/p "cho=>" if %cho%==Yes goto LOCK if %cho%==yes goto LOCK if %cho%==no goto END if %cho%==No goto END echo Invalid choice. goto CONFIRM

LOCK

echo Locking Folder... ren Other "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked pause

UNLOCK

echo Enter password to Unlock folder set/p "pass=>" if NOT %pass%==OtherFolder HERE goto FAIL echo Unlocking Folder/s attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Other echo Folder Unlocked successfully pause

FAIL

echo Invalid password goto end

MDLOCKER

md Other echo Other created successfully goto End

End