🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3401

Re: Getting %1, %2, etc under Borland C

#3401
From: Tony Porczyk
Date: Mon, 28 Sep 1992 06:36
9 lines
757 bytes
c9106225@wombat.newcastle.edu.au (Matt McLeod) writes:

>I'm trying to get ahold of the command line parameters (that is %1, %2, etc)
>within a Borland C Windows program.  I've tried the getenv() function, but to
>no avail, and there doesn't seem to be any other function around.

I know I'm missing something:  You have tried argv[1], argv[2], etc., right?

t.
Technical Details
Message-ID: <r-_p0t-.messina@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!decwrl!csus.edu!netcom.com!messina
References: <1992Sep28.143744.1@wombat.newcastle.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!decwrl!csus.edu!netcom.com!messina
From: messina@netcom.com (Tony Porczyk)
Subject: Re: Getting %1, %2, etc under Borland C
Message-ID: <r-_p0t-.messina@netcom.com>
Date: Mon, 28 Sep 92 06:36:43 GMT
Organization: Messina Software
References: <1992Sep28.143744.1@wombat.newcastle.edu.au>
Lines: 9