| View previous topic :: View next topic |
| Author |
Message |
yoni0505 Expert Cheater
Reputation: 0
Joined: 08 Apr 2008 Posts: 110 Location: Israel
|
Posted: Mon Aug 18, 2008 4:44 am Post subject: lol my first batch file! |
|
|
hey guys, i start learning making batch files few hours ago, so i thought to show you my first project, dont worry, it isnt harmful, if you want you can open it with notepad and view the code, anyway LOL ZOMFG my first batch file! yay me XD
_________________
"There is no knowledge that is not power." |
|
| Back to top |
|
 |
Trucido Moderator
Reputation: 6
Joined: 08 Sep 2007 Posts: 2792
|
Posted: Mon Aug 18, 2008 4:49 am Post subject: |
|
|
| Code: | @ECHO OFF
set click=0
set newcolor=1
set colorlimit= 10
:nextclick
color 0%newcolor%
ECHO click number %click%
set /a click=click+1
set /a newcolor=newcolor+1
if %newcolor% EQU %colorlimit% set newcolor=1
PAUSE >NUL
PAUSE >NUL
goto :nextclick |
Not harmfull.
For those too lazy to rename themselves.
It's pretty cool, you type the number it tells you to and changes text colour.
Basic, but I like it.
_________________
I'm out. |
|
| Back to top |
|
 |
yoni0505 Expert Cheater
Reputation: 0
Joined: 08 Apr 2008 Posts: 110 Location: Israel
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Mon Aug 18, 2008 6:45 am Post subject: |
|
|
HEY!! why did u remove my post. Why dosen't I have the same rights to post as anyone else. You guys are not nice for sure!
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
yoni0505 Expert Cheater
Reputation: 0
Joined: 08 Apr 2008 Posts: 110 Location: Israel
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
|
| Back to top |
|
 |
yoni0505 Expert Cheater
Reputation: 0
Joined: 08 Apr 2008 Posts: 110 Location: Israel
|
Posted: Mon Aug 18, 2008 7:03 am Post subject: |
|
|
its harmful, just like a virus, and you didnt told it
read the rules, rule number 3 for you
3.) No Malicious Content
Again, this includes but is not limited to: requests of how to do something that can harm another's computer; requests of how to do something that involves illegal action; posting of content that is infected; posting of content that is made for the intention to cause damage or something of the sort to someone or their computer.
Failure to follow this rule will result in an immediate ban and removal of your post. A perm. ban request will be placed as well.
you could be banned for doing this you are lucky they just removed it
_________________
"There is no knowledge that is not power." |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Mon Aug 18, 2008 7:24 am Post subject: |
|
|
| yoni0505 wrote: | its harmful, just like a virus, and you didnt told it
read the rules, rule number 3 for you
3.) No Malicious Content
Again, this includes but is not limited to: requests of how to do something that can harm another's computer; requests of how to do something that involves illegal action; posting of content that is infected; posting of content that is made for the intention to cause damage or something of the sort to someone or their computer.
Failure to follow this rule will result in an immediate ban and removal of your post. A perm. ban request will be placed as well.
you could be banned for doing this you are lucky they just removed it |
Damn. It's not a virus tho.. it's a inbuilt widows command..
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
yoni0505 Expert Cheater
Reputation: 0
Joined: 08 Apr 2008 Posts: 110 Location: Israel
|
Posted: Mon Aug 18, 2008 7:54 am Post subject: |
|
|
Malicious command...
_________________
"There is no knowledge that is not power." |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Mon Aug 18, 2008 7:54 am Post subject: |
|
|
| yoni0505 wrote: | | Malicious command... |
blame MS
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
yoni0505 Expert Cheater
Reputation: 0
Joined: 08 Apr 2008 Posts: 110 Location: Israel
|
Posted: Mon Aug 18, 2008 9:09 am Post subject: |
|
|
| Naablet wrote: | | yoni0505 wrote: | | Malicious command... |
blame MS |
MS didnt posted it here...
_________________
"There is no knowledge that is not power." |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Mon Aug 18, 2008 2:28 pm Post subject: |
|
|
batch != programming.
_________________
|
|
| Back to top |
|
 |
goldengold Grandmaster Cheater Supreme
Reputation: -1
Joined: 11 Nov 2006 Posts: 1841 Location: -.-
|
Posted: Mon Aug 18, 2008 3:31 pm Post subject: |
|
|
You don't have to click the right number tho, you can just click any key, but still very cool.
Batch = Scripting I believe.
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Mon Aug 18, 2008 5:12 pm Post subject: |
|
|
yah batch just for calling programs with delays if u want using sleep.exe or but mostly for you to give them arguments without a hassle..
like
program.exe > file.txt insteard of typing out or pasting all the lines in that file.txt it automatically loads up that file in your program and u could get it at char* argv[] with number of spaces in the first one variable argc i think.
maybe it was program < file.txt not sure one of them is input other is output in C++ is << and the arrows do put like its going out..
input in C++ is >> so arrows look like its going in..
dunno about batch i might be wrong
|
|
| Back to top |
|
 |
yoni0505 Expert Cheater
Reputation: 0
Joined: 08 Apr 2008 Posts: 110 Location: Israel
|
|
| Back to top |
|
 |
|