Today's Topic is How to Lock a Folder inwards Computer using notepad ? In such a case, if y'all desire to convey a uncomplicated Folder Lock on your estimator / laptop, fifty-fifty inwards less time. So y'all convey the correct place. Because today I'm going to nation y'all the most awesome agency to lock the folder. Neither does it demand whatsoever programming linguistic communication nor whatsoever software, only a picayune flake of basic information almost computers.
If y'all convey whatsoever personal information inwards your computer, y'all tin flame lock it amongst password using this trick.
In the computer, in that location is a locker which is already named Bit Locker. But this does non lock whatsoever i folder. If y'all purpose Bit Locker y'all volition convey to lock at to the lowest degree i of your ain drives on your computer. But here's what the describe a fast i on is going to nation you, y'all tin flame lock a file or folder amongst its help.
If y'all convey to lock the folder on your estimator in addition to then read this describe a fast i on to the last,
[MUST READ : How To Create Bootable Pendrive Using Command Prompt (CMD)?]
If y'all convey whatsoever personal information inwards your computer, y'all tin flame lock it amongst password using this trick.
In the computer, in that location is a locker which is already named Bit Locker. But this does non lock whatsoever i folder. If y'all purpose Bit Locker y'all volition convey to lock at to the lowest degree i of your ain drives on your computer. But here's what the describe a fast i on is going to nation you, y'all tin flame lock a file or folder amongst its help.
If y'all convey to lock the folder on your estimator in addition to then read this describe a fast i on to the last,
[MUST READ : How To Create Bootable Pendrive Using Command Prompt (CMD)?]
How to Lock a Folder amongst a password using Notepad Step past times Step
Step1; First of all, when y'all opened upward Notepad inwards your computer, press the Windows + R fundamental in addition to become to RUN ascendence in addition to type "Notepad" in addition to click on OK.
Step2; Now afterwards open the Notepad, re-create the given code below, in addition to glue it inwards Notepad.
Copy Code
@ECHO OFF
title Folder Private
if EXIST “HTG Locker” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are y'all certain y'all desire 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 “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%==Type your Password goto FAIL
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
Step3; After copying the code into Notepad , Now y'all delete "Set your password" in addition to type your password,and click on the Files alternative in addition to and then become to Save equally in addition to relieve the file from a .bat extension to a novel folder.
Step4; Now y'all become to the folder where y'all saved your .bat file. From hither y'all outset opened upward i time past times clicking the .bat file, equally if y'all opened upward it once, a novel folder named "Private" volition live created. Whatever lock y'all do, y'all re-create those files to Private Folder.
Step5; After saving the files inwards the Private Folder, y'all volition opened upward the .bat file again. This fourth dimension CMD volition come upward inwards front end of y'all in addition to volition inquire y'all if y'all desire to lock it. If yep in addition to then type "Y" in addition to enter. As shortly equally y'all type Y, press Enter in addition to the Private Folder volition live hidden in addition to locked.
Step6; If y'all desire to unlock it, in addition to then y'all convey to click on .bat file in addition to then CMD volition open, the password y'all entered there, type the password in addition to press piece of occupation inwards in addition to your file volition live unlocked.
If you similar this postal service delight don't forget to part it amongst friends too delight socialize it . give thank y'all you thence much.