0



You are looking to protect your file or folder any how any cost, don’t worry, in this article I’m going to show you how locks any file or folder using without any software. Here I will show you how to protect your file or folder, just follow these simple steps below:

STEP-1.
-Create new text file from right click on desktop.















STEP-2.
Copy this 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%==mypassword 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


STEP-3.
Paste into the notepad


Note :-- mypassword  in code is default password. Replace it with your password. for expample:
if NOT %pass%==12345 goto FAIL

STEP-4.
Save it as locker.bat.

STEP-5.
Now double click to run your “ locker.bat ” file. Then open a command prompt window, here need for a password to unlock. Now you must see a “ Locker” folder on your save location. Your default Password is “mypassword”.

You can create this locker any drive or folder. That’s it. Enjoy……..

Post a Comment

 
Top