Monday, 14 January 2013

0

How to Protect Folder & Files with .bat Notepad Trick

  • Monday, 14 January 2013
  • There are many software’s which can help you to lock and protect your folders and files, you can obviously use some password or hide that folder so that only you have the key to unlock or unhide it. Well these software's provide a good protection to overall your files but this protection cot something in matters of money so what if you don’t wanna invest in any of the software's, do you have any good alternative to hide your folder well you can do that through RUN Command Trick or you can follow the below trick.

    Through this trick you are gonna create a locker in which you are gonna store all your files and than you can choose to hide that folder. So follow steps below to see it in action.

    1. Open Notepad

    2. Now copy below text to your notepad
    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

    3. Now save this as Locker.bat make sure the extension is .bat

    4. So now visit 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.

    5. Now you can copy and paste all the things you want to hide or protect in that folder.

    6. 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 for Yes or No.

    7. Now just type Y for Yes and press Enter.

    8. Now your folder will be hidden, now if you want to get back that folder just double click that .bat file again and type N for No and press Enter.

    External Link : [Hacking University]

    Stay Tuned with Us For More Tricks :)

    0 Responses to “How to Protect Folder & Files with .bat Notepad Trick”

    Post a Comment

    Subscribe



    Enter your email address: