[windows2000] Re: Pause timer for batch files?

  • From: "Sorin Srbu" <Sorin.Srbu@xxxxxxxxxxxxx>
  • To: "windows2000@xxxxxxxxxxxxx" <windows2000@xxxxxxxxxxxxx>
  • Date: Mon, 24 May 2004 14:48:24 +0200

On Mon, 24 May 2004 08:43:04 -0400, Andrew Shriner wrote:

>Hrmmm.... I know that I found it on a couple of my Windows XP boxes...
>but it could be that someone else placed them there.
>
>I definitely know it works under XP and 2003 if you can locate it.

Did a file search on my xp-box, but nada. Maybe it installs with a
resource kit?



>>>> Sorin.Srbu@xxxxxxxxxxxxx 05/24/04 08:40AM >>>
>On Mon, 24 May 2004 08:31:31 -0400, Andrew Shriner wrote:
>
>>Keep in mind I am known for making things work, not necessarily doing
>it
>>the best way there is... but in this case, I don't know of any way to
>do
>>it besides this.
>>
>>I've not done it in a logon script, but investigate the choice
>>utility.
>>
>>If you go to the command interpreter (<start><run><cmd><enter>) and
>>type in choice /?, you'll get the help screen for that program.
>>
>>I've used the following in other batch scripts to pause 10 seconds
>(and
>>all they see is the "Pausing 10 Seconds..." bit:
>>
>>choice /C Y /N /M "Pausing 10 Seconds..." /T 10 /D Y
>
>Is choice still available in 2k/xp? Couldn't find it...
>
>>>>> Sorin.Srbu@xxxxxxxxxxxxx 05/24/04 08:20AM >>>
>>Hi all,
>>
>>I'm trying to make a hard- and software audit on our domain
>>computers with free software. Aida32 if somebody is interested...
>>
>>Anyway, I'm trying to tell the clients to make an audit when the
>>computer starts up (using a stratup script), but this failed for
>>whatever reason, so I resorted to adding the script to the login
>>scripts-feature in a GPO.
>>
>>Now, it works, but seem to have some problems with the command
>>window closing to fast, as it works if I put a pause statement in
>>the end of the script. To minimise user input, ie pressing a key to
>>unpause the script which some users find difficult and dangerous,
>>I'm speculating whether there is a "pause timer" of some sort, that
>>I can tell to pause for some 30 seconds and then continue w/o the
>>user input.
>>
>>The script I'm running is a simple batch script, no vbs or similar
>>at all.
>>
>>Does anybody know of a simple timer that would do what I want?


BW,

Sorin

# Sorin Srbu, Systems Engineer          Web: http://www.farmfak.uu.se/organisk/
# Dept of Medicinal Chemistry,          Phone: +46 (0)18-4714482 >> 5 signals 
>> GSM
# Div of Org Pharm Chem,                        Mobile Phone: +46 (0)701-718023
# BMC, Box 574, Uppsala University              Fax: +46 (0)18-4714474
# SE-751 23 Uppsala, Sweden             Visit: BMC, Husargatan 3, D5:512b
#
# Public PGP key available on request.
#
# ()  ascii ribbon campaign - against html e-mail 
# /\
#
# Harmless tagline follows:
#
# BOFH excuse follows: HTTPD Error 666 : BOFH was here


********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: