From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b8af4c15521994f7,start X-Google-Attributes: gid1164f8,public From: "Kevin Lynn" Subject: Specifying parameters to a C program? Date: 1999/08/18 Message-ID: <7pf1gt$g56$1@news.wrc.xerox.com>#1/1 X-Deja-AN: 514425536 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: usenet@news.wrc.xerox.com X-Trace: news.wrc.xerox.com 935004509 16550 13.243.145.127 (18 Aug 1999 19:28:29 GMT) Organization: WCSIS X-MSMail-Priority: Normal NNTP-Posting-Date: 18 Aug 1999 19:28:29 GMT Newsgroups: comp.sys.dec I'm having trouble guessing how to specify command line parameters to a C program under VMS. What I'd like to do is something like: $run myprog -i param1 -a param2 so that -i, param1, -a, and param2 are passed to main() in the argv[]. Anyone know how to do this under VMS?