Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!titan!drack From: drack@titan.tsd.arlut.utexas.edu (Dave Rackley) Newsgroups: comp.lang.c Subject: Re: help with command-line arguements in Vax C Message-ID: Date: 6 Jun 91 22:12:25 GMT References: <1991Jun6.165647.22250@ccu.umanitoba.ca> Sender: news@titan.tsd.arlut.utexas.edu Distribution: na Organization: Applied Research Laboratories, University of Texas at Austin. Lines: 35 In-reply-to: kaarts@ccu.umanitoba.ca's message of 6 Jun 91 16:56:47 GMT > I am using Vax C (Version 3.0) and I have ran into a problem. After compiling my > program (which simply prints out the command-line arguements) and linking it, I > can't test it. When I try to pass the arguements, the 'run' command complains > about to many arguements (i.e is unwilling to do any passing.) Can someone tell > me what tom do? > Thanks, > Ken This is not a C question, rather an OS (VMS) problem...nuff said, here's your answer: You need to create a "foreign" command with the following syntax from DCL: $ program_name :== $disk:[full.path.spec]program_name.exe {Press RETURN} Now "run" your program by typing: program_name parameter1 parameter2 ... Hope this helps. -- DISCLAIMER: I, hereby, disclaim any disclaimer except this disclaimer. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ | David Rackley | Now comes the really weird part...You know | | Applied Research Laboratories | the part where I know how to tap dance, but | | The University of Texas | only while wearing golf shoes... | | Austin, TX. 78758 | ...Ponderous, man, really ponderous! | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+