1.

Solve : Pause Command Question?

Answer»

I used the search button and looked is 20 of the pages and still couldn't find what I am LOOKING for.
I know about the "pause" and "pause>nul" commands
Pause: Suspends processing of a batch program and displays the message. "Press any key to continue . . ."
And doesn't continue till the person presses a key.
Pause>NUL does the same just doesn't display a message but it waits for a key to be hit.
Is there a subcommand under pause like pause>NUL that puts a timer on how LONG the wait is?

I looked at wait.exe and it is great but if I put that in an autorun then it wouldn't work because the person I’m giving it to wouldn't have wait.exe in there computer. And I did see the ping way but I couldn’t GATHER enough INFORMATION on it to try it out.

Can someone please help me out here. If you have any questions please CONTACT me.

Quote from: Dark Blade

ping -n 1 -w 1000 1.1.1.1 >nul
echo 3
echo.
ping -n 2 -w 1000 1.1.1.1 >nul
echo 2
echo.
ping -n 2 -w 1000 1.1.1.1 >nul
echo 1
echo.
ping -n 2 -w 1000 1.1.1.1 >nul
echo.
echo 0

Except replace 3 with whatever number you want. You don't even have to include the numbers if you want.

This was on another thread. It is very useful.Quote from: Sharamall on November 06, 2007, 07:45:51 PM
Quote from: Dark Blade
ping -n 1 -w 1000 1.1.1.1 >nul
echo 3
echo.
ping -n 2 -w 1000 1.1.1.1 >nul
echo 2
echo.
ping -n 2 -w 1000 1.1.1.1 >nul
echo 1
echo.
ping -n 2 -w 1000 1.1.1.1 >nul
echo.
echo 0

Except replace 3 with whatever number you want. You don't even have to include the numbers if you want.

This was on another thread. It is very useful.
Like I had said, I couldn't gather enough inforation about it to test it. What I ment by that was, I don't no what most of that is. Can you break it done for me? I know what ping is but everything else is a blure....


Discussion

No Comment Found