How To Hide Files or Folders Without Using Software

Do you have a computer that is also used by others? Do you have any files that you don’t wish others to view or that you want to keep a secret?  So the question is,  how do hide files or folders so that others are not able to access them?

I will show you the simple steps that you need to take to hide  your files. This way is very simple and does not use any software or applications.

Here are the steps :

1. Copy the code below and paste into Notepad (remember notepad not word processor or else)



title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Locker goto mDLOCKER


echo want to lock 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 the password 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


Notice :
On The Red Texts above you can type the password that you want


2. Save the notepad above with the extension .bat for example : myfile.bat

After you save the notepad than close. Than you can click twist again on that file. The file will be shown like the picture below :

After you click twist on that file, than will be appear the dialog box like shown on the picture below :

Than enter the password that you already make. After that there will appear “Locker Folder” like  shown on the picture below :

Than you can save your secret file inside that “Locker” folder.

3. After that you can hide the “Locker” folder by Click twist on the Notepad file (On this example I make file with name “myfile.bat” ). Than after you click twist on the Notepad file with bat extension, than will appear the dialog box like on the picture below :

Than you type Y to hide the Locker Folder.

So your file is now saved secretly in the “Locker” Folder, and if you want to open the “Locker” Folder than you can click again on the file with bat extension, and than enter the password. And you can hide again by click on the file bat extension than type  Y.

Okay, so there you go. I hope my explanation is clear enough for you to understand. If you have any questions or wish to make any comments, please type in the comment box below. Have a go and try it for yourself!

Recent Articles

No one ever told you about these 20 Kitchen Tips And Tricks !!!!

there are 20 kitchen tips that  you never heard of which will help you to clean your pans and pots, to maintain your kitchen...

You should eat this 7 foods on a regular basis to get an attractive figure!

If you are interested to make you attractive to others you have to follow some rules. At first you have to control your food...

love your spider plants

Spider Plants or Airplane Plants produce arched green and pale yellow stems that extend to be 12-18 inches long. When less than a year...

You must need these home remedies for healthy long hair.

Long hair is the crowning glory of our looks, both literally and figuratively. Long, gorgeous, and healthy tresses are every girl’s dream. Maintaining long and...

How to cure your Joint pain In A day!

How to cure joint pain Joint pain is one of a common issue among the people, joints are the parts of your body where your...

Related Stories


  1. Thank you for this informative articles. I already try this and that works. now I can save my secret file safely without worrying to know by others even my PC like to use but another one.

Comments are closed.

Stay on op - Ge the daily news in your inbox