It is hard to hide our personal data on our pc because folder locker softwares are in general costly. But we can also make our own locker using notepad. So, all you have to do is
Step 1: Open notepad.
Step 2: Copy the following code in notepad file :
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
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.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==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
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Step 3: Change the “YOUR PASSWORD HERE” with your password.
Step 4: Save it as batch file ( with extension .bat ) For eg. Locker.bat
Step 5: Now you will see a batch file. Double click on it to create a folder locker ( A new folder named Locker would be formed at the same location )
Step 6: Thats it now you have your own created locker and it’s completely free !
Step 7: Put all the files you want to hide in the locker folder.
Step 8: Double click the batch ( As created above ) file to lock the folder namely Locker.
Step 9: If you want to unlock your files, simple double click the batch file again and you would be prompted for password ( In DOS window ). Enter the password and enjoy access to the folder.
https://www.youtube.com/watch?v=nCO1Jl8iKOE
not working dude.........
ReplyDeleteacctually no choice to submit ur password....
ReplyDeletesorry friend but there is a choice in coding to submit your password you can check it at 25th line try it.
ReplyDeletei have deleted the locker.bat file by mistake. my locker folder is hidden now. and unfortunately i have forgotten the password which i have used inside the bat file. plz help me open the folder. it is so important to me.
ReplyDeleteHello Ram, Don't Worry just Follow my instruction your file will be reopen.
Delete1: Open Command Prompt
2: Go to that location in command prompt
3: Type "attrib -h -r -s /s /d" press enter and check your files.
thank you. it worked. and i have got a doubt now. how do i hide my files from one who has knowledge about the batch code with which you have helped me??
Delete