This is old school batch programming but is very handy.
Goto notepad and paste the below code and save with .bat extension
cls @ECHO OFF title Folder jugaad if EXIST "HTG Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER :CONFIRM echo Are you sure you 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 jugaad "HTG Locker" attrib +h +s "HTG Locker" echo Folder locked goto End :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%== PASSWORD_GOES_HERE goto FAIL attrib -h -s "HTG Locker" ren "HTG Locker" jugaad echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md jugaad echo jugaad created successfully goto End :End
Edit the password u desire in password goes here field and then run it. What it will do is create a folder jugaad and you can store all ur private data in it. run the batch file again and follow the steps.
Hide the batch file anywhere u want
0 comments:
Post a Comment
waddya think?