Trick to Protect Files & Folders without Software

Trick to Protect Files & Folders without Software




A lot of software are available for you to lock and protect your files, you can use some password or hide the folder so that only you have the key to unlock or unhide it. To get such software you have to spent some money so what if you don't want to invest in any software. If you have another alternative to hide you folder or files you can do that
through Run command trick.

Though this trick to be applied and can be used on daily basis + its password based. Therefore, we are going to use the echo command and create a .bat file that will act as a gatekeeper so as soon as you access it. It will allow access to all the files and afterwards you can hide it up again.

*1.  Open Notepad

*2.  Now copy below code on your Notepad and save this as [ locker.bat ] make sure the extension is .bat else it will not work. 

cls 
@ECHO OFF 
title Secret Locker ----------------------- :)
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
if NOT EXIST Locker goto MDLocker 
:CONFIRM 
echo Do you want to hide this Locker, to keep it safe from univited eyes ? (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 Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
echo Locker Secured ! 
goto End 
:UNLOCK 
echo Enter your secret password to unhide the Locker: 
set/p "pass=>" 
if NOT %pass%== 123456 goto FAIL 
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker 
echo Locker visibility unlocked ! 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLocker
md Locker
echo Locker created successfully :)
goto End 
:End


*3. So now go to any drive where you want to hide file and folders and paste this .bat file in that drive, now double on this .bat file and it will create a new folder name [ Locker ].

*4. Now you can copy and paste all the files and folders you want to hide or protect in his Locker folder.

*5. After you have filled that folder with all your files double click that .bat file again and it will open another CMD window and it will ask you either you want to hide this Locker folder just type the [Y] key and press enter.

*6. Now your folder is invisible, now if you need to once again unhide that Locker folder just double click on the .bat file and it will ask you to enter the password, the default password is [123456]. If you want to change the password just change the numbers above in bracket with your numeric or alphabetic password.

*7. Now your folder is secured and you can easily access it when ever you want that too without any problem.


No comments:

Post a Comment

Note: only a member of this blog may post a comment.