LinkedIn Facebook Twitter RSS Reset

Your Own Folder Locker (Post shared by Prudvy Kumar)

This post was shared by Prudvy Kumar

Step 1:-
Open the Notepad.exe

Step 2:-
Copy the following code into the notepad

Quote: cls@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDENTER PASSWORD TO OPEN
:CONFIRM
echo ———————————————————–
echo ==================================
echo ———————————————————–
echo Are you sure you want to lock the folder(Y/N)
echo Press (Y) for Yes and Press (N) for No.
echo ———————————————————–
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 Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
:UNLOCK
echo ———————————————————–
echo ====================================
echo ———————————————————–
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%==YOUR PASSWORD goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDENTER PASSWORD TO OPEN
md Private
echo Private created successfully
goto End
:End

Step 3:-
Now change the password in the if NOT %pass%==YOUR PASSWORD goto FAIL
line replace text of YourPassword with your password for the folder lock.

Step 4:-
Now save this file as locker.bat and you are done.

Step 5:-
Now Open the Locker.bat
file and enter your password to open a private folder of yours.

Step 6:-
Now copy paste the files which you want to hide and make it secure in the private folder.

Step 7:-
Now again open the Locker.bat file and press’Y'to lock the private folder with your password.

Step 8:-
Now to again open the secured files open the locker.bat file Enter your password and your files are there for you.

You can use Bat to exe converter and can convert it into .exe file to safeguard the code above.

6 Responses to “Your Own Folder Locker (Post shared by Prudvy Kumar)”

  1. lenin
    April 21, 2012 at 5:07 pm #

    can i know what is this language

  2. venkat teja
    April 28, 2012 at 2:20 pm #

    hi brother
    i didn’t get where to edit my password as there are many {password} words

    • May 2, 2012 at 3:56 pm #

      change the password in the if NOT %pass%==YOUR PASSWORD goto FAIL

  3. venkat teja
    April 28, 2012 at 2:26 pm #

    hi brother please for my understanding,
    you said to edit some password in that code ,
    but i didn’t get that…..
    so, please will you edit that code by using TEJA as password of mine and post it here….
    thanks brother for your impressive tricks.

  4. Prudvy Kumar
    May 6, 2012 at 6:13 pm #

    hello! Mr.ravi teja you can just edit the name (YOUR PASSWORD)with your desired name ‘TEJA’,as you can figure it out easily from the above script..just edit %pass%==YOUR PASSWORD

  5. dinesh
    August 27, 2012 at 3:51 pm #

    hi i tried but i succededin changing my password i cant secure files as private folder is been created later wen i open locker .bat a unknown format file is created thats it but not secured

Leave a Comment

You must be logged in to post a comment.