02/07/2016

Trick to Create Password Protected Folder using Notepad

Hope you guys enjoyed the useful notepad tricks i posted somdays ago,Click here if you missed the awesome tricks.

Now, am up with another notepad trick that will create a password protected folder,you dont need to Download Folder Lock ,as you can create same using Notepad. Isn’t it amazing Notepad Trick.So, follow below method to create password protected folder.


  • Open Notepad and Paste following code 


@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” 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 Private “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%== loadedtek.blogspot.com goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End


  • loadedtek.blogspot.com, which is written in red text is the password,which you can easily edit to your choice.
  • Save file as loadedtek.bat.

Now, whenever you will create loadedtek.bat a Private folder will get created.
Paste those files which you want to lock in that folder.
Now, No One will be able to access the file without password.

No comments:

Post a Comment

Designed by OluwaThank_U.