Create Password Protected Folder using Notepad Trick

Now, you dont need to Download Folder Lock folder,as you can create same using Notepad. Isn’t it amazing  Notepad Trick. So, follow below ...

Now, you dont need to Download Folder Lock folder,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%== computersprofessor 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

  • computersprofessor -  which is written in red text is password.
  • Save file as private.bat.
  • Now, whenever you will create private.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 open the file without password.

Related

Computer Tricks 4855190750800944968

Post a Comment

emo-but-icon

item