Message-ID: <336E468C.35@avanti.orient.uw.edu.pl> Date: Mon, 05 May 1997 22:43:56 +0200 From: Piotr Sieklucki Reply-To: pas AT avanti DOT orient DOT uw DOT edu DOT pl MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Help needed with command line params. Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Precedence: bulk Hello fellow DJGPPers, I would like to ask for some advice. How do you read the command-line parameters given to a program at runtime, and copy them to strings? Basically, I want to get the 2nd and 4th (given that the 1st is the full pathname to the program) parameters into strings <2nd> and <4th>. I realise that this is bloody simple, but I just seem to be bloody stupid. Anyone out there who can give me a helping hand, plz? TIA. Piotr Sieklucki