There are many things in a human life , which are private and special . Everyone wants that no one able to see them . Many people writes diary about their personal affairs and try to make it unreachable . Similarly If you have a computer then certainly you would want to be that How it happens in the computer ? Many people have wished that how to create a password protected folder ? Like mine . There are numerous well known softwares available in the market , which helps you to protect your desired file or folder but all these softwares are paid .
If you are not able to afford these kind of softwares then I have a working solution of this problem . There is no need to purchase any third party software . Let's see how it can be possible without any software ?
Okay , Firstly select a folder , you can make a new folder testing purpose . Open up your selected folder and click the right button of the mouse and select new text document and open it up .
Now paste this code in it .
Your Pasword Replace it with your desired password as you want . Save as " Name.bat " . It must be in your desired folder .
Now you will see " File name.bat " inside the folder .
Double click on it , now it is activated . Again double click on it , now a command prompt window will appear . If you want to hide it then " Y " and hit the " Enter " button .It will hide .
If you want to show it again so double click on " file name.bat " Then the computer will ask the password . Enter your password and hit enter button .
In The End Hopefully today's tutorial will helpful to hide or protect your files or folders . Happy Computing
If you are not able to afford these kind of softwares then I have a working solution of this problem . There is no need to purchase any third party software . Let's see how it can be possible without any software ?
Okay , Firstly select a folder , you can make a new folder testing purpose . Open up your selected folder and click the right button of the mouse and select new text document and open it up .
Now paste this code in it .
cls
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" 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 "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%== Your Pasword 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
Your Pasword Replace it with your desired password as you want . Save as " Name.bat " . It must be in your desired folder .
Now you will see " File name.bat " inside the folder .
Double click on it , now it is activated . Again double click on it , now a command prompt window will appear . If you want to hide it then " Y " and hit the " Enter " button .It will hide .
If you want to show it again so double click on " file name.bat " Then the computer will ask the password . Enter your password and hit enter button .
In The End Hopefully today's tutorial will helpful to hide or protect your files or folders . Happy Computing
|










2 comments:
Very helpful article great work
KutebKhana
very nice and well write.
Keep it up bro
5 Killer Points for Your Hit Blogging Success
Thanks & Regards,
Hemant Verma
Post a Comment