How To Password Lock Folders & Files Without Any Software
By
Unknown
0
comments
Most of the times, especially while working in a shared computer, we
always doubt whether our data
is being accessed by others. There are tons of software available to
hide or lock your folder containing confidential files. But when the
same can be done without the help of any software, why should
you use one?
Hacking Tips Zone helps you in password locking your important files & folders without any software.
Steps To Lock Folders & Files With Password
- Create a New Folder.
- Inside the folder, open any .txt (wordpad or notepad or word document) file.
- Copy the below code
cls
:End
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==123456789 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
- Paste it in the txt file opened.
- Now replace 123456789 with your own password.
- Then go to File & select Save as. Change the file type from '.txt' to 'All Files' and name it as 'lock.bat'.
- Now return to the folder and Double click the 'lock.bat' file & close the cmd window which pops out.
- Now You will find a new folder named 'Locker'.
- Drag the items which are to be protected into this 'Locker' folder.
- Now double click on the 'lock.bat' file, a cmd window will open.
- It will ask you "Are you sure you want to lock your folder? Y/N?"
- Press Y and hit Enter & Close the cmd window. The 'Locker' folder disappears.
- To unlock your folder double click the 'lock.bat' file, type the Password and press Enter. You will see your 'Locker' folder.
Hope this would be very much useful for many people and don't forget this is Hacking Tips Zone
0 comments: