ClanKiller.com
http://forums.clankiller.com/

Boredom...
http://forums.clankiller.com/viewtopic.php?f=1&t=1235
Page 1 of 1

Author:  Satis [ Fri Apr 29, 2005 10:21 am ]
Post subject:  Boredom...

I'm so bored I wrote a batch file to automate net sending messages to people. Behold my power

Code:
@echo off
cls
if "%1"=="" goto nodestination
echo Type quit to quit
:go
set /P message=Message:
if "%message%"=="quit" goto quit
net send %1 %message%
goto go
:nodestination
echo Proper format:
echo               %0 [target]
:quit


boredom: the other mother of invention

Author:  Rinox [ Fri Apr 29, 2005 11:09 am ]
Post subject: 

So, uhm, how does it work? is it some sort of primitive spambot? :P

Author:  Satis [ Fri Apr 29, 2005 12:13 pm ]
Post subject: 

consider it a dos-based IM client, sorta. Don't expect to understand it (very few people even know what windows messenger is).

Author:  derf [ Fri Apr 29, 2005 12:57 pm ]
Post subject: 

lol, Sat is the batch file bitch.

@echo off
cls
echo dErF PWNS J00!
pause

Author:  Mole [ Sat Apr 30, 2005 4:36 am ]
Post subject: 

Windows Messenger is the little bastard that every turns off in windows because people send add's through it.

Yes?

If I remember correctly, the Dev's used it to send stuff to each other during the build proccess of XP.

Author:  Rinox [ Sat Apr 30, 2005 7:13 am ]
Post subject: 

yes @ the former, no clue @ the latter. :)

Author:  derf [ Sat Apr 30, 2005 7:18 am ]
Post subject: 

I wish i had some spare time to learn how to edit batch files.

Author:  Satis [ Sat Apr 30, 2005 9:23 pm ]
Post subject: 

there're some great tutorials on the internet. I learned it virtually out of necessity...I used it to create an auto-updating script for some software I support. Much better than manually placing dozens of files, and manually executing like 9 sql scripts.

Anyway...batch is not as good as a real programming language, but alot more powerful than most people give it credit for.

Author:  derf [ Sun May 01, 2005 6:21 am ]
Post subject: 

Satis wrote:
Anyway...batch is not as good as a real programming language, but alot more powerful than most people give it credit for.


Definately agree.

Summer is the only time available to dedicate some time toward UNIX and BatchFiles.

Author:  Satis [ Mon May 02, 2005 12:29 am ]
Post subject: 

oooh, if you're talking about Unix, then you have shell scripting, and that's ALOT more powerful than simple DOS batch. :) Stop talking now before I wet myself.

Author:  derf [ Tue May 03, 2005 6:43 am ]
Post subject: 

lol, you compu-weirdo.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/