HOW TO SET PASSWORD TO ANY FOLDER WITHOUT ANY SOFTWARE
HOW TO SET PASSWORD TO ANY FOLDER WITHOUT ANY SOFTWARESTEP 1:
create new folder
STEP 2:
open notepad and copy the code and paste it in notepad.
CODE:
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%== WRITE 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
STEP 3:
change ''WRITE PASSWORD HERE'' which is in code change it to password you want.
STEP 4:
save the note pad document to newcreated folder and save it as "locker.bat" without quotes
STEP 5:
open locker.bat file it creates a new folder PRIVATE you can save your files or folder in PRIVATE folder and then open locker.bat file it will ask you to lock folder ans with (y/n)
if you did'nt understand it you can download directly from here
Subscribe to:
Post Comments
(
Atom
)

No comments :
Post a Comment