From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,68086e17863535f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-10 14:12:23 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!intermedia!news.stealth.net!news-east.rr.com!news.rr.com!wn2feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3AFB04C7.D0EA0DDB@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Yet another question on system calls(newbie question) References: <3AFAC042.E2477223@worldnet.att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 10 May 2001 21:12:23 GMT NNTP-Posting-Host: 12.86.32.131 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 989529143 12.86.32.131 (Thu, 10 May 2001 21:12:23 GMT) NNTP-Posting-Date: Thu, 10 May 2001 21:12:23 GMT Organization: AT&T Worldnet Xref: newsfeed.google.com comp.lang.ada:7512 Date: 2001-05-10T21:12:23+00:00 List-Id: Keith Thompson wrote: > > Take a closer look. The call was > result := C_System(value => "acdsee D:\work\pictures\BP47.jpg "); > The command is acdsee, presumably an image viewer. You are correct. My eyes completely skipped the blank. One of the issues you may encounter when using the "system" command is the PATH variable. Using a command such as "acdsee" may work well on some systems, and not on others becuase of differences in the way "system" evaluates your environment variables. The safest solution, although non-portable due to use of different directories, is to call all commands using a fully qualified directory path. Jim Rogers Colorado Springs, Colorado USA