| View previous topic :: View next topic |
| Author |
Message |
hackset Grandmaster Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 524 Location: Confined space, in an asylum probably.
|
Posted: Thu Nov 27, 2008 6:49 am Post subject: [Release] Simple Folder Lock |
|
|
Had a few spare minutes on my hand so this is what I did:
| Quote: | 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%==TYPE YOUR 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 |
What is basically does is it makes a folder in the directory where the .bat file is. You put your stuff you want to lock up into the folder then click the .bat file again. Voila, the files are now untouchable (well to my knowledge only).
To regain access to the files just click the .bat file and enter the password. (To change the password, just edit the part where it says "TYPE YOUR PASSWORD HERE".)
Some good things about this is that you won't need to download specific programs that can do this, and also its really quick and easy to use.
Sorry if there are some bugs, it's my first batch file.
ALSO, if someone else wrote something like this, soz.
.exe added with preset p/w
Last edited by hackset on Fri Nov 28, 2008 8:33 pm; edited 1 time in total |
|
| Back to top |
|
 |
Nick :3 I posted too much crap
Reputation: 5
Joined: 27 Dec 2007 Posts: 2220
|
|
| Back to top |
|
 |
+Plasmastar+ Newbie cheater
Reputation: 0
Joined: 12 Oct 2008 Posts: 14
|
Posted: Thu Nov 27, 2008 8:59 am Post subject: |
|
|
luls^
very nice release
|
|
| Back to top |
|
 |
lxlramlxl Cheater
Reputation: 0
Joined: 08 Nov 2008 Posts: 29
|
Posted: Thu Nov 27, 2008 9:47 am Post subject: |
|
|
Nice, pretty useful
|
|
| Back to top |
|
 |
hackset Grandmaster Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 524 Location: Confined space, in an asylum probably.
|
Posted: Thu Nov 27, 2008 9:52 pm Post subject: |
|
|
Thanks for the appreciation.
Lol @ hiding porn XD
|
|
| Back to top |
|
 |
[SPW]Jsin Grandmaster Cheater Supreme
Reputation: 0
Joined: 19 Jul 2007 Posts: 1251
|
Posted: Fri Nov 28, 2008 12:48 pm Post subject: |
|
|
i dont believe you made this
but good job.
also, use a batch to exe converter to make it an exe so people cant just look into the batch file and find the password.
_________________
|
|
| Back to top |
|
 |
iTz SWAT I post too much
Reputation: 1
Joined: 20 Dec 2007 Posts: 2227 Location: Me.Location;
|
Posted: Fri Nov 28, 2008 6:02 pm Post subject: |
|
|
That is really kwl, tnx man.
I would just like to recommend a couple things.
1.Convert to .exe
2.If the main folder is 1GB for example, then you lock folder, it shouldn't still say 1GB, the size should decrease depending on how big the locked files are.
3.Make an option to change password of it is an .exe because if bat, anyone can simple edit it and change password or see the password.
_________________
|
|
| Back to top |
|
 |
xV I post too much
Reputation: 1
Joined: 03 Jan 2008 Posts: 3783 Location: Seattle
|
Posted: Fri Nov 28, 2008 7:54 pm Post subject: |
|
|
Or you can try to hide it a little more by making the .bat a hidden file? And just unhide it if you need to. IDK. The exe seems a lot easier though. Nifty little thing you made though.
_________________
|
|
| Back to top |
|
 |
LolSalad Grandmaster Cheater
Reputation: 1
Joined: 26 Aug 2007 Posts: 988 Location: Australia
|
|
| Back to top |
|
 |
Oblivious Grandmaster Cheater Supreme
Reputation: 45
Joined: 12 Mar 2008 Posts: 1729
|
Posted: Fri Nov 28, 2008 8:20 pm Post subject: |
|
|
| LolSalad wrote: | http://gocoders.blogspot.com/2008/09/how20-create-your-own-password.html
Nice try. |
It's illegal to use tutorials.
|
|
| Back to top |
|
 |
LolSalad Grandmaster Cheater
Reputation: 1
Joined: 26 Aug 2007 Posts: 988 Location: Australia
|
Posted: Fri Nov 28, 2008 8:24 pm Post subject: Re: [Release] Simple Folder Lock |
|
|
| clickflick22 wrote: | | It's illegal to use tutorials. |
It's not a tutorial, it's providing the batch code.
The code is identical to that provided here (other than some echoes) and he claimed he wrote it.
| JamesHan1 wrote: | Had a few spare minutes on my hand so this is what I did:
-snip-
Sorry if there are some bugs, it's my first batch file.
ALSO, if someone else wrote something like this, soz. |
_________________
|
|
| Back to top |
|
 |
Oblivious Grandmaster Cheater Supreme
Reputation: 45
Joined: 12 Mar 2008 Posts: 1729
|
Posted: Fri Nov 28, 2008 8:29 pm Post subject: Re: [Release] Simple Folder Lock |
|
|
| LolSalad wrote: | | clickflick22 wrote: | | It's illegal to use tutorials. |
It's not a tutorial, it's providing the batch code.
The code is identical to that provided here (other than some echoes) and he claimed he wrote it.
| JamesHan1 wrote: | Had a few spare minutes on my hand so this is what I did:
-snip-
Sorry if there are some bugs, it's my first batch file.
ALSO, if someone else wrote something like this, soz. |
|
It's illegal to dissect code and then post on the internet to see if anyone thinks it's useful.
|
|
| Back to top |
|
 |
hackset Grandmaster Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 524 Location: Confined space, in an asylum probably.
|
Posted: Fri Nov 28, 2008 8:34 pm Post subject: |
|
|
Are you being sarcastic or not? Don't wanna get into any trouble.
Anyway, added .exe
|
|
| Back to top |
|
 |
Oblivious Grandmaster Cheater Supreme
Reputation: 45
Joined: 12 Mar 2008 Posts: 1729
|
Posted: Fri Nov 28, 2008 8:36 pm Post subject: |
|
|
| JamesHan1 wrote: | Are you being sarcastic or not? Don't wanna get into any trouble.
Anyway, added .exe |
Sarcastic, anyways, good job if you stole it or not.
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Fri Nov 28, 2008 8:50 pm Post subject: |
|
|
wow...looks identical to this.
and this...
not to mention this.
you know, had a few minutes on my hand.
_________________
|
|
| Back to top |
|
 |
|