🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Getting %1, %2, etc under Borland C

#3400
From: Matt McLeod
Date: Mon, 28 Sep 1992 04:37
18 lines
914 bytes
OK.  This has probably been asked zillions of times before, but I'll ask again
anyway...

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.

Any ideas?

Thanks in advance,

Matt
 
---
Matt McLeod
Programmer, Freelance Computer Journo and ASP Approved Vendor
c9106225@alinga.newcastle.edu.au
Technical Details
Message-ID: <1992Sep28.143744.1@wombat.newcastle.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!wombat.newcastle.edu.au!c9106225

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!wombat.newcastle.edu.au!c9106225
From: c9106225@wombat.newcastle.edu.au (Matt McLeod)
Subject: Getting %1, %2, etc under Borland C
Message-ID: <1992Sep28.143744.1@wombat.newcastle.edu.au>
Lines: 18
Sender: news@seagoon.newcastle.edu.au
Organization: University of Newcastle, Australia
Date: Mon, 28 Sep 1992 04:37:44 GMT