cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/20/23:41:27

From: hank_heng AT hotmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: How do I pass * (astrix) over argv ?
Date: Tue, 21 Sep 1999 02:47:21 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 21
Message-ID: <7s6rjn$gq7$1@nnrp1.deja.com>
NNTP-Posting-Host: 161.142.112.8
X-Article-Creation-Date: Tue Sep 21 02:47:21 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
X-Http-Proxy: 1.0 FIREWALL,NetCache AT jrc-cache8: Version 3.3.1P1, 1.0 x35.deja.com:80 (Squid/1.1.22) for client 161.142.112.8
X-MyDeja-Info: XMYDJUIDhank_heng
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

  I'm using DJGPP, and I notice that if I do something like this :

  myprog *.*

  *.* actually copy all available file name that found in that
directory and store it in argv[1], argv[2], argv[3] ... and so on...

  I don't want this to happen, so how do I pass '*.*' over the command
line and receive '*.*' in argv[1] instead of bunches of file names.

  Thanks For Reading This And Please Help Me Out.  :)



-Hank


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019