Page 1 of 1

Spamming Problem

Posted: 04 Jan 2009 22:33
by seklum
First if all I'd like to say thanks to whoever made this forum. I recently started learning batch and would like to play a prank on a school computer but I'm having a little problem with the script.

I want to make it open 100's of cmds but it just keeps one open and spams the message in there.

Here is the code

Code: Select all

@echo off
echo STOP IT HURTS MY EYES PLEEZ JEEZ STOP IT'S FREAKING ANNOYING!
@echo off
annoy.bat


Please help to make it open a new window each time.[/quote]

Re: Spamming Problem

Posted: 02 Feb 2009 20:31
by Mason
seklum wrote:First if all I'd like to say thanks to whoever made this forum. I recently started learning batch and would like to play a prank on a school computer but I'm having a little problem with the script.

I want to make it open 100's of cmds but it just keeps one open and spams the message in there.

Here is the code

Code: Select all

@echo off
echo STOP IT HURTS MY EYES PLEEZ JEEZ STOP IT'S FREAKING ANNOYING!
@echo off
annoy.bat


Please help to make it open a new window each time.
[/quote]

hmm, try
@echo off
loop
%0
Goto :loop

Also, check out my site for MUCH more of this kind of stuff http://www.3ethicalhackers.com