From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b8af4c15521994f7 X-Google-Attributes: gid1164f8,public From: "Richard Tomkins" Subject: Re: Specifying parameters to a C program? Date: 1999/08/19 Message-ID: #1/1 X-Deja-AN: 514508544 References: <7pf1gt$g56$1@news.wrc.xerox.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.on.wave.home.com 935027426 24.112.234.137 (Wed, 18 Aug 1999 18:50:26 PDT) Organization: @Home Network Canada X-MSMail-Priority: Normal NNTP-Posting-Date: Wed, 18 Aug 1999 18:50:26 PDT Newsgroups: comp.sys.dec $ prog :== $mydirectory:myprog.exe $ prog -1 -2 -3 The dollar sign in column 1 is the standard OpenVMS prompt. The dollar sign in string equate will translate into run myprog.exe, but unless you specify your directory or the actual location of your executable, the system will default to running myprog.exe in sys$system. The second line is of course, the actual run of your program, with it's parameters and you should be able to pick them up with argc and argv. rtt