🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.misc
Article #312

Re: How to run a C program taking command line arguments on VMS

#312
From: David Bratton
Date: Mon, 04 Mar 1996 17:00
17 lines
1033 bytes
Lynn Mei wrote:
> 
> Thanks to you all who helped me, I know how to run the program now.
> I really appreciate!

Just one more thing before the thread dies.

As of VMS 6.2 you have another option. You can define the logical
DCL$PATH to point to the directory containing the executable.
Then you _do not_ have to set it up as a foreign command.

$define/user dcl$path []
$foo -arg

David Bratton
University of Houston System
DBratton@uh.edu
Technical Details
Message-ID: <313B21AC.45F5@uh.edu>
Path: arc1-ca.pugleaf.net!news.uh.edu!usenet
References: <4h1u5d$s5c@news.fsu.edu> <4h72pe$fce@news.fsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.uh.edu!usenet
From: David Bratton <DBratton@uh.edu>
Newsgroups: vmsnet.misc,comp.lang.c
Subject: Re: How to run a C program taking command line arguments on VMS
Date: Mon, 04 Mar 1996 11:00:28 -0600
Organization: University of Houston System
Message-ID: <313B21AC.45F5@uh.edu>
References: <4h1u5d$s5c@news.fsu.edu> <4h72pe$fce@news.fsu.edu>
NNTP-Posting-Host: dbratton.uhsa.uh.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
To: Lynn Mei <meil@firnvx.firn.edu>