0% found this document useful (0 votes)
21 views1 page

New Text Document

This batch script locks a folder called "Private" on a user's computer by renaming it and setting hidden and system attributes. It then prompts the user to enter a password to unlock the folder, and will only unlock it if the correct password of "4315" is entered.

Uploaded by

FinderX GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

New Text Document

This batch script locks a folder called "Private" on a user's computer by renaming it and setting hidden and system attributes. It then prompts the user to enter a password to unlock the folder, and will only unlock it if the correct password of "4315" is entered.

Uploaded by

FinderX GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

@ECHO OFFif EXIST "Control Panel.

{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto
UNLOCKif NOT EXIST Private goto MDPrivate:CONFIRMecho Are you sure to lock this
folder? (Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n
goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Private
"Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.
{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter
password to Unlock Your Secure Folderset/p "pass=>"if NOT %pass%== 4315 goto
FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control
Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Privateecho Folder Unlocked
successfullygoto End:FAILecho Invalid passwordgoto end:MDPrivatemd Privateecho
Private created successfullygoto End:End

You might also like