How To Lock A Folder With Password Without Any Tool

lock a folder with password

Hello and welcome back guys in this tutorial. In this article, I’m gonna tell you, how you can protect your folder with a password but without using a tool or software. On Microsoft Windows, a special folder could be a folder that is bestowed to the user through Associate in the Nursing interface as Associate in Nursing abstract idea rather than Associate in Nursing absolute folder path. (The substitutable term shell folder is typically used instead.) Special folders build it doable for Associate in Nursing application to raise the package wherever an acceptable location certainly sorts of files are found, no matter what version or language of Windows is getting used.

In Windows Server 2003 and earlier, a folder just like the “Start Menu” had a distinct name on non-English versions of Windows. as an example, on German versions of Windows XP, it’s “Start menu”. However, since Windows visual percept, all Versions of Windows use an equivalent English named folders and solely show completely different names within the Windows someone. In Windows 10 the user will switch to a different show language and also the names of the special folders can modification. Windows uses the idea of special folders to gift the contents of the storage devices connected to the pc in an exceedingly fairly consistent approach that frees the user from having to upset absolute file methods, which might (and usually do) amendment between software versions, and even individual installations.

ALSO READ:- Create A Folder Using CMD

1. Make a folder and named it “Private”.

2. Open “NotePad” and paste following code there.

title Folder Private
if EXIST “HTG Locker” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
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.
ren Private “HTG Locker”
attrib +h +s “HTG Locker”
echo Folder locked
goto End
echo Enter password to unlock folder
set/p “pass=>”
attrib -h -s “HTG Locker”
ren “HTG Locker” Private
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Private
echo Private created successfully
goto End

3. Find ” CHANGE_YOUR_PASSWORD” in the following script and replace it with your desired password.

4. Now save the notepad file with name “Locker.bat”.

5. Run this file by double click on it. It will open a cmd box.

6. Type “Y” and hit the enter button.

Voila !! Your folder has been protected successfully with your desired password. Any time when you try to open this folder and see your data, just run that .bat file and enter your password.

Add a Comment

Your email address will not be published. Required fields are marked *

two × five =

This site uses Akismet to reduce spam. Learn how your comment data is processed.