[windows2000] Re: Pause timer for batch files?

  • From: Mark Cook <mc@xxxxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Mon, 24 May 2004 13:46:54 +0100

Problem is that AIDA32 is a win32 gui which when launched from a script will
run seperatly to the command prompt !

Try using 

START /WAIT <rest of command line to launch AIDA32>

Doing this will cause the AIDA32 process to start and the logon script to
pause until it completes !

Mark


-----Original Message-----
From: Sorin Srbu [mailto:Sorin.Srbu@xxxxxxxxxxxxx] 
Sent: 24 May 2004 13:46
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: Pause timer for batch files?

On Mon, 24 May 2004 13:37:12 +0100, Mark Cook wrote:

>How are you creating the report ?

Using Aida32 on each client. I tell the client to run the locally
installed aida32.exe, and to save the report to a server-share.

>-----Original Message-----
>From: Sorin Srbu [mailto:Sorin.Srbu@xxxxxxxxxxxxx] 
>Sent: 24 May 2004 13:39
>To: windows2000@xxxxxxxxxxxxx
>Subject: [windows2000] Re: Pause timer for batch files?
>
>On Mon, 24 May 2004 13:26:29 +0100, Mark Cook wrote:
>
>>Have emailed you off list with one, just knocked up for you in about one
>>minute :-)
>
>Thx, tried it, won't work. I mean that the timer works but the
>sleep.exe induced pause doesn't allow the report to be created.
>However, if I put the pause-statement back, it works. Wonder why...
>
>Thx though for the exe!
>
>>-----Original Message-----
>>From: Sorin Srbu [mailto:Sorin.Srbu@xxxxxxxxxxxxx] 
>>Sent: 24 May 2004 13:21
>>To: Windows2000 Mailing List
>>Subject: [windows2000] Pause timer for batch files?
>>
>>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:
#
# Counting in octal is just like counting in decimal, if you don't 
use your thumbs. - Tom Lehrer.


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