[windows2000] Re: Pause timer for batch files?

  • From: "Andrew Shriner" <aShriner@xxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Mon, 24 May 2004 08:31:31 -0400

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

Drew

>>> 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?

TIA.

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:
#
# Vampireware /n/, a project, capable of sucking the lifeblood out 
of anyone unfortunate enough to be assigned to it, which never 
actually sees the light of day, but nonetheless refuses to die.


********************************************************
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
********************************************************
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: