delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/01/12:28:29

Date: Mon, 1 Mar 1999 17:48:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Hubert Toullec <Hubert DOT Toullec AT wanadoo DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: launch programs under NT4
In-Reply-To: <7be4ke$e9i$1@platane.wanadoo.fr>
Message-ID: <Pine.SUN.3.91.990301174225.24475H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 1 Mar 1999, Hubert Toullec wrote:

> In a certain script, I launched MSACCESS with the following command :
> start /W c:/Program Files/.../MSACCESS.EXE
> (/W wait for the MSACCESS to finish before continuing the script : this
> behaviour is mandatory in my script)

If you use "start /w", why do you need `start' at all?  Just run 
MSACCESS.EXE directly, it should do the same, I think.

> This works fine under Windows 95/98 because start.exe is an external
> command, but under NT, start is an internal command of cmd.exe
> 
> Does anyone know how to get the same behaviour under NT

You can always say "cmd /c start /w msaccess.exe" (or replace cmd with 
%ComSpec%).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019