How to create a simple locker without any application .
Simple Folder Locker

I'm going to show you how to make a simple folder locker by just useing note pad.
This is my first instructable so tell me what my mistakes were and how i can improve my next instructable.
First you need to open up notepad. Go to start, run and type in notepad or go to start, all programs, accesories, notepad.
Now enter the code below into notepad, and put in your password that you want to use for the Folder Locker were it says YOUR PASSWORD HERE.

First you need to open up notepad. Go to start, run and type in notepad or go to start, all programs, accesories, notepad.
Now enter the code below into notepad, and put in your password that you want to use for the Folder Locker were it says YOUR PASSWORD HERE.
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the 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.
pause
goto CONFIRM
:LOCK
ren Locker "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 folder
set/p "pass=>"
if NOT %pass%==YOUR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
pause
goto end
:MDLOCKER
md Locker
echo Locker created successfully
pause
goto End
:End


Thanks So, Helpful
ReplyDelete