How To Make A Password Protected Folder In Windows Without Any Software
Friends, You may know may software’s to protect your files, folders etc. with Password. May be all downloading software’s are premium. So we can only use trial versions of these software for 30 days or 15 days. If you have a chance to crack that software. That is totally illegal, You may go to jail for this. But some one created an extra free Password protection option for your windows. It is a bat file you can easily make your own password protection system with a Notepad. You can make your own password for this. If you like this , Just follow below steps and enjoy…
First Open Notepad.
- Copy below code and paste on Notepad.
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- PASSWORD- HERE 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
Change RED color with your password.
- Save this notepad file as Locker.bat file by changing extension. and Save it on desired location.
- Now appear a new Private folder.
- Again click on Locker.bat file. Now appear a command popup with “Are you sure you want to lock this folder (Y/N)”. You just type Y to lock Private folder. (You can paste your file on Private folder)
- Now disappear Private folder from location.
- If you want to appear Private Folder. Again click on Locker.bat file.
- Then type your Password and hit Enter key on keyboard.
- Now appear hidden Private folder at same location.
- Done.
Leave a comment below….. if you like this post share it……
No comments: