Thursday, 31 January 2013

Lock your folder with password(without any software)

               

Friends ab tk to aapne  folder lock krne k liye kisi na kisi software ka use kiya hi hoga ,bt aaj me aapko  ek notpad trick bta rha hu jo aapko zrur psand ayegi

bas apko sabse pehle ek .bat file banani hai jiske liye apko nicha diya gaya sara code as it is notepad me paste karna hai aur isi code mein password here ki jagah apna password likhna hai.



@ECHO OFF 


title Folder Brij 

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
if NOT EXIST Brij 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 Brij "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%== password here goto FAIL 
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Brij 
echo Folder Unlocked successfully 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Brij 
echo Brij created successfully 
goto End 
:End

2. ab is file ko aap kisi bhi name se save kar dijiye and name ke aage .bat add kr de for example(brij.bat ). bas ho gaya. ab jab aap is file par double click karenge to khud hi brij name se ek folder ban jayega

ab apko apna  data (jo aqp save karna chahte hain) is folder mein paste kar de. ab jab apko folder lock karna ho to jis name (brij.bat )se aapne file save ki h us par double click kijiye folder chhup jayega, ek confirmatiion message ayega to"y" press kr dijiye.


ab jab bhi apko folder open krna ho to(brij.bat ) file par jakar double click kijiye apse wahi password pucha jayega jo apne file banate waqt diya tha

No comments: