Lock your folder Without any software
Lock your folder without any software
Open the drive of the folder and create a new text document
Copy below the code and paste it on the text document and save the document
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%== PASSWORD_GOES_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
Next open the document and Erase
the " PASSWORD_GOES_HERE" and give your password
the " PASSWORD_GOES_HERE" and give your password
Save document as batch file
Go to options click save as give file name.bat
and save as type select all files and save it
(You can delete the original document as your's wish)
Double click the batch file it create a new folder named as private
Put your photos,videos and document On that private folder
Then double click the batch file it shows you a black screen like
cmd window on that windows it asks you "you want to lock the
folder" type y for lock the folder
(y means yes)
Your's folder was locked
Way to unlock the folder
Double click the batch file it shows you the black screen
give your's password and press enter
Your's folder was unlocked
Comments
Post a Comment