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

New Text Document

This document is a batch script for a folder locker that allows users to create a locker folder and secure it with a password. Users can unlock the folder by entering the correct password, while an incorrect password prompts an error message. The script also hides the locked folder to prevent unauthorized access.

Uploaded by

vivek sharma
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)
16 views1 page

New Text Document

This document is a batch script for a folder locker that allows users to create a locker folder and secure it with a password. Users can unlock the folder by entering the correct password, while an incorrect password prompts an error message. The script also hides the locked folder to prevent unauthorized access.

Uploaded by

vivek sharma
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 off

title Folder Locker


if EXIST "Locker" goto UNLOCK
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto LOCKED
echo Folder Locker Script
echo ----------------------
echo 1. Press any key to create a locker folder.
pause
md Locker
echo Locker folder created successfully.
exit

:LOCKED
echo Folder is locked. Enter password to unlock:
set /p pass=
if NOT %pass%==123 goto FAIL
attrib -h -s -r "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully.
exit

:UNLOCK
echo Enter password to lock the folder:
set /p pass=
if NOT %pass%==YourPasswordHere goto FAIL
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s +r "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder Locked successfully.
exit

:FAIL
echo Incorrect Password!
pause
exit

You might also like