Hallo Herr Grein, ich habe auch ein kleines Paket, das ich innerhalb eines größeren Ada95 Projekts unter WinNT/98 zum Scannen der command-line benutzt habe. Es wurde bisher mit ObjectAda und GNAT eingesetzt und sollte auch auf anderen Plattformen laufen. Die function command_name dürfte Ihnen weiterhelfen. Wenn Sie auch das Paket Portable.Standard haben wollen, das im Body benutzt wird, melden Sie sich bitte. P.S. Eurocopter gehört doch zur EADS. Warum finde ich Ihren Namen dann nicht in unserer internen Mailing-Liste, wo doch die Kollegen von Daimler-Chrysler noch und die von der Casa schon zu sehen sind? Beste Grüße J. Schröer Dr.-Ing. Joachim Schröer EADS Germany GmbH Defense Electronics Dept.: VEE22 Wörthstraße 85 D-89070 ULM Telefon: +49 731 392 5993 Christoph Grein schrieb in im Newsbeitrag: ... > Thanks to all for their responses. > > Randy Brukardt gave me a nice solution (it may not be applicable for all cases, > but for me, it worked). > > The original question was: > > How do I get the full name of Ada.Command_Line.Command_Name? The result of > Command_Name is implementation dependent. > > Open the file with the name given by Command_Name, call the Name function which > by A8.2(22) must return the full name, then close the file again: > > Open (File, in_file, Ada.Command_Line.Command_Name); > Full_Name := Name (File); -- this is the idea only (careful, string sizes) > Close (File); > > OK, A8.2(22) actually says "should", but Randy confirmed that the ACATS test for > the full name, so you can rely on this. > > Christoph Grein > >