Trick to Protect Folder Without Using Any Software

Trick to Protect Folder Without Using Any Software

People want to protect their confidential data or documents in their computer and they want to hide the particular data or keep it private from others. It is very important to keep data secret from others. There is different software available in the market to keep the folders protected. But most of these are trial versions and others are very expensive. So these softwares are not really useful to hide and protect your data for ever.

Here you will be informed with some very useful and important tips and tricks to protect and hide your data in a folder without even installing any software. The process is not a complex one and can used on any version of the Microsoft windows. The steps must be done in proper order to prevent the data and to lock it into a folder. With this trick no other person will access your locked folder.


  • Open the notepad.
  • Copy the below code in a notepad and save it.

title Folder Locker
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
Else 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%==123456789 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

 Protect the folder without any software are as Above :-
  • When you will copy this code in the notepad the source code will come in this shape ‘’123456’’, you can change it with your desired password.
  • Click the save as option and name the file as bat.
  • After saving the file a batch file will appear where the file is saved. Open that file and a pop up Window of MS DOS will appear on screen.
  • When you will open this option will appear “Are you sure to lock the folder’’, entery and press enter.
  • Again on opening it will ask you to enter the password which you saved earlier in the source code, just enter the password to go further.

The locker will work fine if you have taken all the steps accurately. About the hidden part you can see the folder by name of locker and there will be a batch file also named as locker. The batch file will be the key and the folder will be the locker. Then you can put your documents in the folder and open the batch file and give it permission to lock it. Hide the folder after giving permission. You can access to the folder any time then by entering the password there.