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: Arlen Williams Subject: Re: Specifying parameters to a C program? Date: 1999/08/19 Message-ID: <37BBBC1D.DE9F9A7@remove_sabre.com>#1/1 X-Deja-AN: 514671841 Content-Transfer-Encoding: 7bit References: <7pf1gt$g56$1@news.wrc.xerox.com> Organization: Sabre, Inc. Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.sys.dec Kevin Lynn wrote: > > 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? I see that others have answered your question, but in the future there is a newsgroup comp.os.vms just for specific VMS questions.