Lock Files On You PC Without Using Any Software



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 egLocker.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.


You can also watch video for the same trick here:
https://www.youtube.com/watch?v=nCO1Jl8iKOE






SHARE

Krishna

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

6 comments:

  1. acctually no choice to submit ur password....

    ReplyDelete
  2. sorry friend but there is a choice in coding to submit your password you can check it at 25th line try it.

    ReplyDelete
  3. i 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.

    ReplyDelete
    Replies
    1. Hello Ram, Don't Worry just Follow my instruction your file will be reopen.

      1: 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.

      Delete
    2. 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