comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@gecm.com>
Subject: Re: file list in a directory
Date: Mon, 19 Mar 2001 09:23:19 -0000
Date: 2001-03-19T09:23:19+00:00	[thread overview]
Message-ID: <3ab5cdf2$1@pull.gecm.com> (raw)
In-Reply-To: AOss6.124$76.376857@nnrp1.proxad.net

If you're using Unix, something like this has worked for me in the past
(no guarantees here, I'm on a Windohs machine just now and this is
from memory :-)

procedure Command_Line is

  function C_System (Value : String) return Integer;
  pragma Import (C, C_System, "System");

  Result : integer;
begin
  Result := C_System (Value => "ls > ./temp.txt");
end Command_Line;

EtienneB <etienne.baudin@wanadoo.fr> wrote in message
news:AOss6.124$76.376857@nnrp1.proxad.net...
> How can get it in Ada ?
> Thanks
> Etienne Baudin
>
>





      parent reply	other threads:[~2001-03-19  9:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-16 18:19 file list in a directory EtienneB
2001-03-16 18:31 ` Pascal Obry
2001-03-16 20:12   ` Robert A Duff
2001-03-17 10:09     ` Pascal Obry
2001-03-17 17:45     ` Nick Roberts
2001-03-17 18:08       ` Randy Brukardt
2001-03-17 19:57       ` Georg Bauhaus
2001-03-19 10:46       ` Jean-Pierre Rosen
2001-04-08  3:18         ` srini
2001-04-09  9:34           ` Jean-Pierre Rosen
2001-03-16 19:07 ` tmoran
2001-03-16 21:19   ` EtienneB
2001-03-17  0:53     ` David C. Hoos, Sr.
2001-03-17  2:50     ` DuckE
2001-03-17 12:30       ` Staffan Dittmer
2001-03-17 10:10     ` Pascal Obry
2001-03-16 21:19 ` EtienneB
2001-03-19  9:23 ` Martin Dowie [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox