Sometimes you have been asking for an alternative way to lock folders without the use of any alternative software. It’ll 5 steps ahead only, check now!
ø In Notepad copy the code below.
ø The default password is “parag4you”. Change your password in the code, where it shown as parag4you in green background. Password may be any combination of alpha or/and numeric.
ø Save this file as “locker.bat”.
ø Now double click on locker.bat.
ø I t will create a folder named: Locker with automatic lock. After creation of the folder, place the contents (your files & folders) you wants to lock inside the Folder and double click locker.bat again. It will ask to lock the folder Y/N. If you press y then it will lock the folder and your folder will be hide. To unlock run again locker.bat, it will ask to enter password, type in correct password and you can see your folder back.
ø Please don’t change anything except password, otherwise this lock may does not work.
èèèèèèèèèèCode starts line belowèèèèèèèèèèèè
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDMANNUFORALL
:CONFIRM
echo Are you sure to Lock this 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.
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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== parag4you 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
goto end
:MDMANNUFORALL
md Locker
echo Locker created successfully
goto End
:End
çççççççççççCode ends line aboveçççççççççççç
Thanks,
Parag
hey, m forget my password,so how i can recover my files back from that "LOCKER" folder.
ReplyDeleteHey friend...
ReplyDeleteJust right click over the "Locker.bat" file and select "edit" option....!!
You'll find the codes...just as above..!!
There you'll find that line, where we write our password..!!
Just refer the above code....!!
Here I have mentioned the password as "parag4you" (in green background).
And that would be your password....!!
If you still hav any prob....let me know...!!
Thanks,
Parag (PRG)
please what is the name of this programme use in create the locker folder, is it BV, OR BASIC? please tell me i will like to know. thank for your good work.
ReplyDelete