help with command-line arguements in Vax C
Dave Rackley
drack at titan.tsd.arlut.utexas.edu
Fri Jun 7 08:12:25 AEST 1991
> 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! |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
More information about the Comp.lang.c
mailing list