EASIEST WAY TO PASSWORD LOCK FOLDER USING NOTEPAD IN WINDOWS PC
Friends you may be amazed on listening that you can password lock a folder using notepad in windows PC with out any software.Many of you might been tried this and some may be failed to password lock folder using notepad in windows pc.Hence i explained all the process in detailed 6 steps in a easy way
It is very easy process to password lock folder using notepad in a windows pc
FOLLOW THESE STEPS IN ORDER TO LOCK FOLDER USING NOTEPAD IN WINDOWS PC
STEP 1:Create a notepad file in the folder or desktop or any other location in which you want to create a lock folder
STEP 2:copy the following code to your notepad
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 Enter password to lock folder or for cancel press N
set/p "cho=>"
if %cho%==YOUR PASSWORD HERE 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%==YOUR PASSOWRD HERE 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
STEP 3: Replace the words "YOUR PASSWORD HERE" in two different places of the code using your required password
For example : if %cho%==YOUR PASSWORD HERE goto LOCK
to
if %cho%==12345 goto LOCK
AND
if NOT %pass%==YOUR PASSOWRD HERE goto FAIL
to
if NOT %pass%==12345 goto FAIL
STEP 4: Save the notepad file with file name ending with .bat not .txt
as show in the image and save the file
STEP 5: After saving the notepad as .bat it will become a MS-DOC batch file.Now if you double click this file, it will create a new folder named LOCKER to which you can copy all files needed to be password lock.
STEP 6:After copying all needed file to locker folder,double click the MS-DOC batch file and it will ask for a password and you should enter the password which you entered in the notepad code and press enter,now the locker folder will be hidden and if u want to make it visible again ,then double click the MS-DOC batch file and enter your password
NOTE: DONT DELETE THE MS-DOC batch file
I HOPE THIS POST HELPED YOU
PLEASE COMMENT
0 comments:
Post a Comment