password protected hidden folder for without any software

in #windows7 years ago

hello! everyone. I am going to share a script with complete method to get a password protect folder anywhere in windows. You can store your private files in that folder and hide it moreever you can Set your own password.
encrypted-folder-14814543.png

Things you required


1. script for notepad given below just copy it ( start from "cls"and end with ":end")


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%==yourpassword 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 follow these steps

  1. copy the code ( start from "cls"and end with ":end")
  2. run notepad
  3. Press "win" key and "r" together. A new dialog box will appear just type "notepad" and hit "enter" key. "notepad" will run

    up.PNG

  4. paste the script code in "notepad"
  5. locate to line
    "if NOT %pass%==yourpassword goto FAIL" and set your password by erasing "yourpassword"
  6. ![ll.PNG]()
  7. now save this script where you want to create folder with any name and .bat extension. ".bat" is must
  8. uu.PNG

  9. you will find a file with given name where you saved script double click and run it
  10. pp.PNG

    type your password and Press enter

  11. after pressing enter you will see a locker named folder is created. Copy or store your private items in locker folder
  12. after storing your files again double click on script file. You will see command prompt. Type "y" and hit "enter"

    yyy.PNG

  13. Now Your folder is locked and hide. :) If you want get back your folder again click on script file that you created by "notepad" . This time you need password to restore folder type your password and hit "enter" key your folder is back :) when you again click on script(.bat) file again your folder will hide

    pp.PNG

    How to change password

    its easy just open note pad and drag script(.bat) file to notepad or right click on that file and select edit here you can re change your password

    Important!!

    As i mentioned you can edit file to read or modify password its highly recommended to save your .bat file any where else. when you wan restore folder just copy again file to that location upvote And Follow Me If you like my work thanks

Coin Marketplace

STEEM 0.15
TRX 0.17
JST 0.028
BTC 68552.89
ETH 2454.37
USDT 1.00
SBD 2.36