Dos Trick To Lock Your Folder

Dos Hack Trick To Lock Folders.

You may using many Folder locking software in your computer.
And you you have to pay for it and after all that some softwares come to break those lockers and you dont have any new idea very soon.

Here is a dos hack trick to lock folder with out using any software.
so that no one can crack the password and can not have access to your folders data.

To use it you need to create a dos batch file for your computer. It has a collection of codes which can make a password protected folder for your computer. And the good news is that it wont cost you. Just need to create a file with you.


So here We go: Copy the giving codes into a notepad file and save it as lock.bat file.

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.
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%==pwd 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
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


These are the magical codes to make you a Dos folder locker.
After saving it double click on it it. If it will ask for password type pwd and press enter.
The radio staggers against the backspace!

4 comments:

  1. i have created the batch file than after double clicking on that a lock folder appears after again double click on that batch file it asked for if u want to lock the folder i typed yes and than when i tried to unlock it asked for password where i had not get the option entering the password. tell me what is the password

    ReplyDelete
  2. the password is pwd and when you will type the password i wont show there but it will accept it.

    and if you want to change it that you have to change the code line in batch file

    f NOT %pass%==pwd goto FAIL

    at the place of pwd you need to change the text what you want.

    ReplyDelete