How to Lock folder without software
Wana protect your secret files from others?
Yes, you can but with the help of softwares.
But who wants those memory consuming softwares . awww yes we can
lock our folder without using any third party software.
1. NO software needed
2. Save the harddisk memory where you placed the software
3. Saves the RAM
Also read: Hack facebook with phishing
Its just as simple as 1-2-3
Alright, here we go. Perform the following steps.
Step 1.
Paste the below code in
notepad and save it as Lock.bat
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 2 .
Replace the word Write_password_here with the password you want to
put on the folder and save it as lock.bat
Also read: Hide files behind image
Step 3 .
Click on this locked.bat
This will create a new folder named private in the same directory
where you placed this locked.bat file.
Place all your secret stuff in this folder.
Step 3.
Again click on it and in the opened command prompt, type y (y means
yes you want to lock the folder and N means you don’t want to lock the folder
now). So type N if you don’t want to
lock the folder now.
Step 4.
Now the folder is hidden secretly.
How
to open that folder::::----
1. Again double click on locker.bat.
it will open the command prompt.
2. Type the password in it which you used and you will be able to
see the folder.
3. You can change the password by editing the above code. Find the
below line
if NOT %pass%== Write_password_here FAIL
replace the Write_password_here with any password that you want to
put on the folder.
and then perform the previous steps to lock and unlock the folder.
Also read: windows 10 technical preview features
Note: For further security, you can hide this locked.bat by using
hide file option. Or you can place this lock.bat file in your C-drive. So no
one would be able to find this in your C-drive.
For ant query , comment in the below box. We will surely help you.
No comments:
Post a Comment