Sunday 21 April 2013

•How to Lock Folder By Creating .bat File And Secure Your Data

Hi Friends This Post Is To Teach You That How To Create A .bat File to Lock folder And Secure It
Follow this few steps
----------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------
Step 1
Open Notepad and paste this script

cls
@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
set/p "pass=>"
if NOT %pass%==Password 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

If You Want To Change Password Just Replace By Default "Password" To Your Desired Keywords
Find this Line In Script : if NOT %pass%==Password goto FAIL
----------------------------------------------------------------------------------------------------------------------------------
Step 2
Save File Name As "Locker.bat"
And Save As Type "All Files"
----------------------------------------------------------------------------------------------------------------------------------
Step 3
Go to the folder where you have saved Locker.bat file
Run Locker.bat File
(Note : Folder will be created automatically as Locker and will be created in the location where Locker.bat file is saved)
Copy and Paste Data To The Folder Named Locker That You Want To Secure

----------------------------------------------------------------------------------------------------------------------------------
Step 4
To lock folder , Run Locker.bat file and type Y and press Enter
Folder Locked And Converted To System File And Not Possible To Open Without Locker.bat file.

----------------------------------------------------------------------------------------------------------------------------------
Step 5
If you want to unlock folder just run Locker.bat , Enter password and press Enter


Download Locker.bat File By 4shared.com
 ---------------------------------------------------------------------------------------------------------------------------------


Thanx
Post By Deepak Gidolia (Ryker)



1 comment: