Learn how to hide your files without any software

Friends hope you will be fine.

I am going to share about how to save and lock a file in a folder where no software is needed but only a notepad code is all about you need. Basically it is a batch file trick and may be you people are also well aware of it if you learn DOS and notepad features etc.

This trick saves files under password protection. So follow the undermentioned process step by step

Open note pad and copy the text given below

title http://www.iktatva.tk
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
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.
ren MyFolder “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 Your Secure Folder
set/p “pass=>”
if NOT %pass%== jagatprasad goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” MyFolder
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md MyFolder
echo MyFolder created successfully
goto End

Now save the notepad as lock.bat (.bat is must for it)

Double click on lock.bat file a new folder by the name Myfolder will be created.

Copy your files and data to be saved in that Myfolder

Double click the .bat file again command prompt will appear type Yand press enter.

The folder will disappear from the desktop.

To view the My folder again double click the Lock.bat file

A command prompt ask for password, here default password is jagatprasad

You can change it by finding jagatprasad in the code and writing anyone of your choice.

One thing to be sure that Lock.bat file should be kept hidden from others or saved in secure part of your system so that you can access it with ease.

Hope it will help to keep your files secure.


Thanks Jagat



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s