how to timeout on xp

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Rileyh
Posts: 147
Joined: 01 Sep 2011 03:54
Location: Perth, Western Australia

how to timeout on xp

#1 Post by Rileyh » 01 Jan 2012 00:42

I have recently needed to change from windows 7 to windows xp and I have come to the shocking realisation that there is no timeout command. So how can do something of the equivalent? Is there a method that does the same thing?

Regards,
Rileyh

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: how to timeout on xp

#2 Post by Squashman » 01 Jan 2012 01:10

Two options.

Download the Windows 2003 server resource kit and use the sleep command in there.

Use the PING trick.
http://www.xinotes.org/notes/note/992/

Rileyh
Posts: 147
Joined: 01 Sep 2011 03:54
Location: Perth, Western Australia

Re: how to timeout on xp

#3 Post by Rileyh » 01 Jan 2012 02:24

Thank you <b>Squashman</b>, this has been helpful.

orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: how to timeout on xp

#4 Post by orange_batch » 01 Jan 2012 05:38

Or the vbscript method...

sleep.vbs

Code: Select all

wscript.sleep wscript.arguments(0)*1000

Code: Select all

cscript sleep.vbs //nologo seconds

Post Reply