Saturday, September 20, 2014

lock a folder without software lock a folder without

How to lock a folder without third party software

Its important to lock a folder to save our personal files... So we can lock a folder by the following ways.
DON’T FORGOT TO KEEP THE PASSWORD IN THE CODE WHERE IT IS WRITTEN “TYPE YOUR PASSWORD HERE”
STEP 1: copy the following code into notepad and save as “.bat”. for example we take it as : “key.bat”

cls
@ECHO OFF
title Folder

VEER
  if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST SARAT 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
VEER "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 the 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}" SARAT
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md
VEER
  echo VEERcreated successfully
goto End
:End

STEP 2: Now a batch file is formed. Now double click the batch file and a folder named
VEER appears. Now save all your personal data in it.
STEP 3: Now to lock the folder just double-click on the file “Key”. You will get a confirmation message in Command Prompt. Type “y” to confirm. Now the folder “VEER” will be locked and hidden
STEP 4: If you want to get access to the contents of the folder then again double-click on the batch file, you have created. Immediately you will be prompted to enter your password. After that you can get access to the folder “
VEER”.
That’s all its over…. But try to save your batch file in somewhere in your computer so that it is difficult to find it for others. But if any of your friends are computers savvy they can know your password through the batch file.

No comments:

Post a Comment

Dharamart.blogspot.in