On 06 Feb 2010, batchconfused <>
wrote in microsoft.public.windows.vista.general:
> I am trying to create a 2-5 second delay in a batch file. I need
> for the viewer to have enough time to see the text "application is
> opening" before it actually opens. I am running vista, and the
> ping command and wait command do not work on it. PLEASE HELP!!
There are a variety of "wait" or "sleep" utilities out there, including
the old "CHOICE.COM" from Windows98 and earlier DOS versions.
The free command replacement TCC/LE includes a "delay" command.
Ping is available in Vista, and the ping trick still works. Try:
ping 1.1.1.1 -n 1 -w 5000
Otherwise, there's no built-in Windows command specifically for this.
|