8 Jan 2012

Password Protect and Hide Your Folder Using Simple Batch File.

| |

Lock, Hide & Password Protect your Folders.
Using this Trick not only Locking Folder but also Hide it.


Copy the following Script :


 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%==type 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


Now, Do the following Steps..



  •  Paste above text into Notepad.
  •  The text which is written in RED letters delete it & type your password there.
  •  Save that file by extension .bat ( name is your choice)
  •  Now on your screen there is a bat file appear.
  •  Double click on that file.
  •  A new folder named locker will appear on the screen.
  •  Keep the files and folders you want to lock in that locker folder.
  •  Now again double click on that batch file to lock that locker folder.
  •  After locking that folder it will become hidden.
  •  To open that folder double click on that bat file
  •  Type your password & open that folder.



If your data will be lost !!!! its easy to get this back... :)

  • Just copy the script from here again.
  • Make the batch file again in the same location.
  • Edit your password in the program.
  • Double click on the batch file and you will get the options back to recover your data.




0 comments:

Post a Comment

Copyright 2017, Design by MN. Powered by Blogger.