How to lock a folder without any software-using Notepad.


Hi guys in this tutorial i am gonna show you How to Lock a folder without any software using notepad.As we know that,day-by-day lots of hackers are trying to steal the confidential data that resides on one system.As a result many of us are trying to protect there confidential data to be hidden by using various types of Folder locks.
How to lock folder without any softwrae.
But as these folders locks are not available for free,they get expire after a period of time.In order to get rid of it in this article i am gonna show you how to create a folder which is password protected.This works in all windows(i.e XP,vista,7,8).To do this Follow the steps that are given below.


1.In order to do this,Open notepad( you can do this by pressing windows+R and type in it notepad).
2.Now in that copy the code which is given below.


title Folder Locker

title worldtech360 Folder lock /*replace with your desired title */
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
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.
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type 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
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End

3.Now in the above code replace 'type your password here' with your desired password
4.Now save this file by using an extension (.bat) for example:FILENAME.bat as shown below.
save the file name with .bat extension
5.Now you will see a batch file on the desktop like this.
Batch file ICON.
6.Double click on the batch file Which you have created,now a window will pop up(Command prompt).
Double on the created batch file to open the CMD.
7.Now enter the password which you have used in the source code and press Enter.In this i have used worldtech360.
Enter the password you used in the batch file program.
8. A folder will appear on the desktop as shown below.
Appearance of invincible folder.
9.Now drag the files into the folder and again press on the batch file.
10.Now a window will pop,in that type 'y' and  you will see that the folder which appeared on the desktop will disappear.
Press on the batch file one more time and CMD window will open.In that enter Y and hit enter.
12.If you want to open the folder,simply click on the batch file again.
13.But by doing this there is a risk of knowing the password by right clicking on the batch file and press edit option as show below.
One can know the password by right clicking on the batch file and then on EDIT.
14.In order to avoid this,we are going to convert this .bat file into .exe file by using simple softwares called "Bat-to-exe converter".
15.Open the file which you have download and press on the application and you will see the screen like this.
Bat to exe converter.
16.Now select the batch file path as shown below.
Browse to the batch file which you have created in the Bat to exe convertor
17.Now you will see a exe file.
Converted batch file that is in exe format


That's it friends now you can hide your confidential data without any loss.If you have any queries feel free to ask us through comments.


Post a Comment