Lock your Personal Folder without any Software
Hey friends, you all must be having some private data on your PC whose security you want to maintain. There are many softwares available for it to lock your files. But this can also be done without the use of them.
Just follow the below given steps to implement it :-
1. Paste the below given code in notepad.
2. Save as "AnyFileName".bat
3. Copy The BAT File in Your Computer,where you want to create the locker folder
4. Run the file and you will see a new folder called “Locker”
5. Now add the files you want to be locked in that folder.
6. Run Again The Bat File you have created, and it will ask you if you want to Lock the folder
7. Type Y For Yes. The folder will be locked and hidden.
8. To unlock, run bat file you have created
9. Enter Your password to unlock
------------------------------------------------------------------------------------
cls
@ECHO OFF
title Vaibhav File Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Vaibhav File Locker
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 vaibhav File Locker
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== type your password here 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
:End
------------------------------------------------------------------------------------
!!!!!! ENJOY !!!!!!
0 comments:
Post a Comment