LOCK FOLDER FROM NOTEPAD
lock folder without installing any folder lock :
you want to jus follows this steps
step 1 : open notepad from start menu>all program>accesarories>notepad
step 2 : Then pest this code on notepad and change the password in palce of jayant you wil find it
""%pass% "== jayant"" and replace it as your password
copy between curly brackets
{
cls
@ECHO OFF
title Folder jayantLock
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST jayantLock goto jayant
:CONFIRM
echo Are you sure to Lock this 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 jayantLock "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== jayant goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" jayantLock
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:jayant
md jayantLock
echo jayantLock created successfully
goto End
}
step 3 : save this file as following name jayant.bat or anything you want but dont remember save it in .bat format
step 4 : now close notepad and open that file by double click on it now a new folder is maked as name of "jayantlock"
step 5 : now take all of your data in this folder " jayantlock" which you want to lock
step 6 : now again double click on your saved file then a dos window is open and it ask you to lock your file the press "y" and hit on enter now your file is locked
step 7 : when you want to open your locked folder then double click on saved file and it will ask your password then enter your password and your file will open
but dont remember to save your password in palce of %pass%=="jayant"
jayant is the default password
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment