Mail Archives: djgpp/1998/01/29/01:18:34
From: | Ian Perez <fish AT discover DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | HELP!!
|
Date: | Wed, 28 Jan 1998 22:13:23 -0800
|
Organization: | DiscoverNet
|
Lines: | 14
|
Message-ID: | <34D01E03.5060@discover.net>
|
NNTP-Posting-Host: | redlandsts5-30.discover.net
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Ok, when I use the following program :
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("%s", argv[1]);
}
When I use wildcards in the first argument, argv[1] becomes the first
file matching that criteria. Is there any way to stop it from doing
that?? I just want the exact string typed to be in argv[1].
Ian Perez (fish AT discover DOT net) http://www.discover.net/~fish
- Raw text -