Folder lock using notepad
How to create a folder lock usining notepad
Have you been ever got irritated when someone see your personal files or folders or any other.The answer is yes ,we feel bad when our friend or small brother opens our pc and delete something unknowingly which is very important for us.Downloading expensive softwares is solution but why to waste money when we can do it for free.
For free..?..yup,you heard that right .Through some lines of code and notepad we can create our own personal locker for free.Follow these steps to have your locker.
Step 1:
Open notepad in your pc .
Step 2:
Copy these lines of code to your notepad.
cls
@ECHO OFFtitle Wolftricks.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Buddy are you sure to lock this 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 MyFolder "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 the Password to Unlock Your Secured Folder
set/p "pass=>"
if NOT %pass%==yourpasswordgoto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Yay! Folder Unlocked successfully
goto End
:FAIL
echo Sorry Bro Invalid password!
goto end
:MDMyFolder
md MyFolder
echo MyFolder Created Successfully!
goto End
:End
********please change yourpassword to the password you want**********
Feeling too lazy to copy and paste ,dont worry .Download the Text file or the Bat file from these links.
Step 3:
Now save these notepad file as locker with .bat extension so as the the trick to work.When you run the locker.bat it will create a secret folder .
Step 4:
Now just copy all your personal stuff to this folder and again click on the .bat file and press 'y'.
Step 5:
Whenever you want to open that secret folder just open that .bat file and enter the password .
I think as i have helped you in creating a folder lock without any software .
plzz share the post if you like it.
Feel free to comment below if your facing any problems...Always happy to help you.