From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Using Spawn in Win2K
Date: Mon, 6 May 2002 20:47:23 -0500
Date: 2002-05-06T20:47:23-05:00 [thread overview]
Message-ID: <mailman.1020736082.626.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 2g8eduk0pqkck5a05pq1l57tslqiekr8nn@4ax.com
----- Original Message -----
From: "DPH" <rally2xs@compuserve.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: May 06, 2002 7:41 PM
Subject: Re: Using Spawn in Win2K
> Wow! Just what I needed. Thanks a lot, Jeffry.
>
> If you don't mind, 1 further question. What is the "/c" right at the
> beginning of the argument_string_list? I found this on a search of
> the web (as opposed to the search of the newsgroups) too. I musta
> missed something about calling command.com?
>
As with all DOS and Windows commands issued at the command line,
the correct syntax is obtained by issuing the command with the
switch /?
So for the command shell, you obtain the following:
command /?
Starts a new instance of the MS-DOS command interpreter.
COMMAND [[drive:]path] [device] [/E:nnnnn] [/P] [/C string] [/MSG]
[drive:]path Specifies the directory containing COMMAND.COM file.
device Specifies the device to use for command input and output.
/E:nnnnn Sets the initial environment size to nnnnn bytes.
/P Makes the new command interpreter permanent (can't exit).
/C string Carries out the command specified by string, and then stops.
/MSG Specifies that all error messages be stored in memory. You
need to specify /P with this switch.
next prev parent reply other threads:[~2002-05-07 1:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-06 20:44 Using Spawn in Win2K Dave Head
2002-05-06 21:05 ` Dave Head
2002-05-06 23:42 ` Jeffrey Carter
2002-05-07 0:41 ` DPH
2002-05-07 1:47 ` David C. Hoos, Sr. [this message]
2002-05-07 8:23 ` DPH
2002-05-06 21:49 ` Stephen Leake
2002-05-07 17:06 ` Björn Lundin
2002-05-07 17:36 ` Dave Head
2002-05-07 19:34 ` Randy Brukardt
2002-05-07 20:02 ` Dave Head
2002-05-07 23:23 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox