the password and access the folder by the help of notepad

by 8:39 AM 0 comments
Copy and paste the code given below in notepad and 'Save' it as batch file (with extension '.bat'). Any name will do. Then you see a batch file. Double click on this batch file to create a folder locker. New folder named 'Locker' would be formed at the same location. Now bring all the files you want to hide in the 'Locker' folder. Double click on the batch file to lock the folder namely 'Locker'. If you want to unlock your files,double click the batch file again and you would be prompted for password. Enter the password and access the folder.

cls
@echo off
title folder lock

IF EXIST "Control Panel{21EC2020-3AEA-1069-A2dd-08002B303-09D}" GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo folder created
:CONFIRM
echo are you sure to lock the folder(y/n)
set/p "choice="
IF %choice%==y GOTO Lock
IF %choice%==Y GOTO Lock
IF %choice%==n GOTO END
IF %choice%==N GOTO END

echo invalid choice
GOTO CONFIRM

:LOCK
ren Locker "Control Panel{21EC2020-3AEA-1069-A2DD-08002B303-09D}"
attrib +h +s "Control Panel{21EC2020-3AEA-1069-A2DD-08002B303-09D}"
echo folder locked
GOTO END

:UNLOCK
echo enter the password
set/p "password="
IF NOT %password%==yourpassword GOTO FAIL

attrib -h -s "Control Panel{21EC2020-3AEA-1069-A2DD-08002B303-09D}"
ren "Control Panel{21EC2020-3AEA-1069-A2DD-08002B303-09D}" LOCK
echo folder unlocked successfully
GOTO END

:FAIL
echo invalid password
GOTO END

:MDLOCKER
md locker
echo folder created
GOTO END

:END

pause

the current password is "yourpassword" (without quotes)

if any problem reagarding this batch script..!!
then comment here

tanxx..@

Unknown

Developer

We Looked in the Face Of Truth As iT Told Us Lies

0 comments:

Post a Comment