From: Vinzent Hoefler <ada.rocks@jlfencey.com>
Subject: Re: How to execute DOS command from an Ada program ?
Date: Thu, 19 Jun 2003 15:02:08 +0200
Date: 2003-06-19T15:02:08+02:00 [thread overview]
Message-ID: <bcscbe$mjcn9$1@ID-175126.news.dfncis.de> (raw)
In-Reply-To: 1056026816.27326@news.drenet.dnd.ca
Nose Red wrote:
>I am using Ada95 to develop a tool which will execute/call a DOS batch file.
>Anyone knows how ?
If you use GNAT you may take a look at GNAT.OS_Lib and the Spawn
procedure/function there. For executing a batch file you may also need
Getenv to retrieve the name of the command processor (environment
variable COMSPEC) to let it execute the batch.
Vinzent.
next prev parent reply other threads:[~2003-06-19 13:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-19 12:46 How to execute DOS command from an Ada program ? Nose Red
2003-06-19 13:02 ` Vinzent Hoefler [this message]
2003-06-19 13:47 ` Nose Red
2003-06-19 17:05 ` tmoran
2003-06-20 4:33 ` Martin Krischik
2003-06-24 11:38 ` Nose Red
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox