PDA

View Full Version : lock any folder without any software


ishanroz
06-18-2008, 08:46 PM
NoTe- Its different from invisble as well hidden folder....here u need to have a password with which u can open your filder

here is the code

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 stuff by satish
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==TYPE UR PASSWORD HERE 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


Instructions::


1) Copy the give code in a note pad and save the note pad in your pc with the name name.bat (that is with the extension of .bat). you can replace the name portion with anything u want.

NoTe-- In place of password in the code given type your desired password.

2) A batch file will be created where you hav saved. Now double click on it , it will make a folder with the name locker at the same place where the batch file is save.

3) Now add the files you want to be locked in that folder.

4) Double click on the batch file. It will ask for locking the folder formed. Type y(yes). The folder will be locked and hidden.

5) To unlock,double click on batch file again and enter the password in the new window opened.

niroshan84515
06-18-2008, 08:47 PM
lets see thx machan

TΞΞNSTAR™
06-18-2008, 08:53 PM
i prefer using softwares machnz..

nyway tnx..

madhu4gr
06-18-2008, 08:54 PM
wooooooooooow nyz ........ tnx dude :D :D

g1tha741741
06-18-2008, 08:55 PM
hari ..owa karanda giyama epa wenawa!!!!!!!!!!!!

Shiwantha
06-18-2008, 09:03 PM
thanx bro

ishanroz
06-18-2008, 09:08 PM
thanx bro
ape bro newi, ape sohodarayo

dileepma
06-18-2008, 09:28 PM
tanx machan . eka wada!

elakiri0777
06-18-2008, 09:49 PM
machan folder eka ta " .{21EC2020-3AEA-1069-A2DD-08002B30309D} " kiyala folder eke anthimata dammahama th oya wage sin ekak wenawa ;)

Eg :- new folder.{21EC2020-3AEA-1069-A2DD-08002B30309D}

try ;)

elakiri0777
06-18-2008, 09:49 PM
oh!! unlock karnna one nam .{21EC2020-3AEA-1069-A2DD-08002B30309D} kalla makala danna ;) :P kiyanna amathaka wuna :(

ElaKiriKollaUSA
06-18-2008, 11:25 PM
Weak!

You can edit the .bat file and read the password. What good is that? Nice try though.

N@rUT0
06-18-2008, 11:44 PM
tnx

upulcranga
06-18-2008, 11:59 PM
ela ela, thnx a lot !

yasiru1
06-19-2008, 12:06 AM
software hodai ,thanks

BLACKLIST_MEMBER
06-19-2008, 12:34 AM
NoTe- Its different from invisble as well hidden folder....here u need to have a password with which u can open your filder

here is the code

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 stuff by satish
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==TYPE UR PASSWORD HERE 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


Instructions::


1) Copy the give code in a note pad and save the note pad in your pc with the name name.bat (that is with the extension of .bat). you can replace the name portion with anything u want.

NoTe-- In place of password in the code given type your desired password.

2) A batch file will be created where you hav saved. Now double click on it , it will make a folder with the name locker at the same place where the batch file is save.

3) Now add the files you want to be locked in that folder.

4) Double click on the batch file. It will ask for locking the folder formed. Type y(yes). The folder will be locked and hidden.

5) To unlock,double click on batch file again and enter the password in the new window opened.
nice batch programme machan :) umbada haduwe :D mama hondata danna kiyana codes tikak thienne :D :D :D