🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1213

Re: DOS doesn't expands wildcard argument...!

#1213
From: Scott McMahan - Softbase Systems
Date: Fri, 19 Apr 1996 16:54
48 lines
2090 bytes
It really makes me mad that people post messages with bad return
addresses. They want help, and you're nice enough to help them and
e-mail a response, and you get a MIME-Encapsulated mailer daemon
message for your troubles!

Bud Lo (budlo@bud.com) wrote:

: i've written a C program and compiled both a Unix and DOS version,
: the Unix version correctly expands its wildcard argument  like *.jpg 
: into its constituent files while the DOS version do nothing...

DOS's command processor does not expand wildcards. That's why some
DOS command behave bizarrely and inconsistently when you try
to use them. The UNIX shell expands them and passes the expansions
to the program.

: Can anyone suggest solution to make it work in DOS...

Most DOS compilers have a module you can link in to do it for you.
Read your compiler documentation.

Scott

-*-

Look at this crap!

This is a MIME-encapsulated message

--JAA03664.829932689/ramona.cyborganic.com

The original message was received at Fri, 19 Apr 1996 09:51:27 -0700 (PDT)
from softbase@mercury.interpath.com [199.72.1.1]

   ----- The following addresses have delivery notifications -----
<budlo@bud.com>  (unrecoverable error)

   ----- Transcript of session follows -----
... while talking to xanadu.cyborganic.net.:
>>> RCPT To:<budlo@bud.com>
<<< 550 <budlo@bud.com>... User unknown
550 <budlo@bud.com>... User unknown

--JAA03664.829932689/ramona.cyborganic.com
Content-Type: message/delivery-status


--JAA03664.829932689/ramona.cyborganic.com--
Technical Details
Message-ID: <4l8gfk$nii@news.interpath.net>
Path: arc1-ca.pugleaf.net!news.interpath.net!softbase
References: <3177b1d9.14121359@news.hk.linkage.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.interpath.net!softbase
From: softbase@mercury.interpath.com (Scott McMahan - Softbase Systems)
Newsgroups: alt.msdos.programmer,comp.lang.c
Subject: Re: DOS doesn't expands wildcard argument...!
Followup-To: alt.msdos.programmer,comp.lang.c
Date: 19 Apr 1996 16:54:12 GMT
Organization: Interpath -- Providing Internet access to North Carolina
Message-ID: <4l8gfk$nii@news.interpath.net>
References: <3177b1d9.14121359@news.hk.linkage.net>
NNTP-Posting-Host: mercury.interpath.com
X-Newsreader: TIN [version 1.2 PL2]