|
Register | Blogging | Today's Posts | Search |
|
Thread Tools | Display Modes |
![]() |
#11 (permalink) | |
Partying on the inside
Join Date: Mar 2009
Posts: 5,584
|
![]() Quote:
The way most people end up doing it is to simply to ping your network card using a -n switch with the indicated number of seconds. So if you want to wait for a period of time immediately after the bat executes, the first line of code you'd put in would be, using 60 seconds as an example: ping 127.0.0.1 -n 60 Then you'd write your other lines of code afterward. The only thing is it's going to sit there and ping & reply in the output window, which isn't an issue in itself and doesn't affect anything, but if you're trying to be sneaky, you may want to figure out how to make it so that the bat runs in the background or something, which I'm not sure how to do. You can probably find a tutorial on the web somewhere. |
|
![]() |
![]() |
|