Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
seklum
- Posts: 1
- Joined: 04 Jan 2009 22:26
#1
Post
by seklum » 04 Jan 2009 22:33
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]
-
Mason
- Posts: 4
- Joined: 28 Jan 2009 18:02
- Location: 3 Ethical Hackers dot com
-
Contact:
#2
Post
by Mason » 02 Feb 2009 20:31
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