Be Updated, Be Smart

Sunday 14 December 2014

On Sunday, December 14, 2014 by Nabin Jaiswal in ,    2 comments
Hey Guys! Welcome to the new tutorial. In this , you will learn to create a password protected software without any software. Most of us, think that it is impossible to create such a folder but the truth is that it is very easy to do so. Read on to know how to create it.

Lets get started..

Process:
Step 1: Make a new folder (with any name as your wish).
Inside that  folder make a  Text  file( with .txt extension ) & copy inside it copy the entire code given below:

Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 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 Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== password here 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
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

After you have copied the above code into text file, go to line 23  and keep the desired password instead of that bold word (i.e. password here). 

For example: if NOT %pass%== technowing goto FAIL
/* In this case your password becomes = technowing */

Step 2: After that, click on File > Save As and name it as 'locker.bat'.
This is our locker file. Remember the file extension should be '.bat' . Make sure you have selected "All Files" in 'Save as type'.

Now close the text file and return into the folder that you had created earlier. You can see a batch file named locker. 



Step 3: Click on it. It will prompt you to enter a password. After you enter password, a folder name Private will appear.


This is the secret folder where you can keep your important data and files. Now save all your important files in this Private folder.

Step 4: After that when you need to lock that folder, again click on that locker.bat file. It will prompt you to ask whether you want to lock or not.

Now enter 'y' or 'Y' the folder will be locked and invisible. 
  
If you again want to gain access to that folder click on that locker.bat file and type the password. Again to lock the folder same  as previous can be done.

In case if delete the locker.bat file, then you can again create a new file as created above but remember that the password should be same.In order to avoid such circumstances, you can save locker.bat in several locations for future reference.

Note: If you forget the password, you can still check it by: Right Click and Select Edit Option.

I hope you like this article..If you have any suggestions or queries then please forward it to us through comments.

2 comments: