|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| wait/sleep command Is there a wait/sleep equilivant command for the command prompt? I know there is wscript.sleep for vbs files. I'm running a batch file and want to it pause a few seconds between commands. Haven't found much from microsoft. There is the waitfor command but it wasn't recognized. Thanks. |
| |||
| Re: wait/sleep command Use ping -n XXX 127.0.0.1 replace XXX with the desired number of seconds +1 yepiknowiam wrote: > Is there a wait/sleep equilivant command for the command prompt? I know > there is wscript.sleep for vbs files. > > I'm running a batch file and want to it pause a few seconds between commands. > > Haven't found much from microsoft. There is the waitfor command but it > wasn't recognized. > > Thanks. |
| |||
| Re: wait/sleep command Poor man's sleep timer: ping localhost -n (number of seconds to sleep) Louis "yepiknowiam" <yepiknowiam@discussions.microsoft.com> wrote in message news:37466D6D-894F-4104-B902-9986487E4FE2@microsoft.com... > Is there a wait/sleep equilivant command for the command prompt? I know > there is wscript.sleep for vbs files. > > I'm running a batch file and want to it pause a few seconds between commands. > > Haven't found much from microsoft. There is the waitfor command but it > wasn't recognized. > > Thanks. |
| |||
| Re: wait/sleep command Oops, that sould have been ping -n (number of seconds to sleep) localhost Louis "yepiknowiam" <yepiknowiam@discussions.microsoft.com> wrote in message news:37466D6D-894F-4104-B902-9986487E4FE2@microsoft.com... > Is there a wait/sleep equilivant command for the command prompt? I know > there is wscript.sleep for vbs files. > > I'm running a batch file and want to it pause a few seconds between commands. > > Haven't found much from microsoft. There is the waitfor command but it > wasn't recognized. > > Thanks. |
| |||
| Re: wait/sleep command "3c273" <nospam@nospam.com> wrote in message news:g0kfdt0mli@enews4.newsguy.com... > Oops, that sould have been > ping -n (number of seconds to sleep) localhost > Louis The order of the parameters is irrelevant. |
| |||
| Re: wait/sleep command Thanks. That did the trick. I'll have to remember that command. "Pegasus (MVP)" wrote: > > "3c273" <nospam@nospam.com> wrote in message > news:g0kfdt0mli@enews4.newsguy.com... > > Oops, that sould have been > > ping -n (number of seconds to sleep) localhost > > Louis > > The order of the parameters is irrelevant. > > > |
| |||
| Re: wait/sleep command Somehow I thought I left out localhost on the first one. Still asleep I guess. Louis "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message news:OuCTqo3tIHA.4476@TK2MSFTNGP06.phx.gbl... > > "3c273" <nospam@nospam.com> wrote in message > news:g0kfdt0mli@enews4.newsguy.com... > > Oops, that sould have been > > ping -n (number of seconds to sleep) localhost > > Louis > > The order of the parameters is irrelevant. > > |
| |||
| Re: wait/sleep command yepiknowiam wrote: > Is there a wait/sleep equilivant command for the command prompt? I know > there is wscript.sleep for vbs files. > > I'm running a batch file and want to it pause a few seconds between commands. > > Haven't found much from microsoft. There is the waitfor command but it > wasn't recognized. > > Thanks. There is a microsoft resource kit that includes a sleep command you can use. http://www.microsoft.com/downloadS/d...displaylang=en |
| |||
| Re: wait/sleep command ping -n xxx 127.0.0.1 (replace xxx with the seconds plus one so for one minute use 61) Mcribisback wrote: > I tried the ping -n (local) host to use as a Sleep/wait command, but it > runs forever instead of the number of seconds i assign it. I must be > doing something wrong? > > thanks for the help! > > |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sleep mode command | Sam Steinhauser | Windows Vista | 3 | 01-25-2008 03:50 PM |
| start /wait does not wait :( | Yandos | Windows XP | 3 | 05-23-2007 01:00 AM |
| sleep key command for MS wireless 6000 keyboard | Ed | Vista Hardware | 4 | 05-15-2007 10:00 PM |
| sleep key command for MS wireless keyboard | Ed | Windows Vista | 0 | 05-14-2007 06:20 AM |
| RE: Sleep Command | Justin | Windows XP Tablet PC Newsgroup | 2 | 12-03-2006 11:36 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |