🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1212

DOS doesn't expands wildcard argument...!

#1212
From: Bud Lo
Date: Fri, 19 Apr 1996 15:49
15 lines
883 bytes
hello...

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...
Can anyone suggest solution to make it work in DOS...

(i know that the Unix's shell do the work of wildcard expansion
before passing them to my program, and observing this behaviors 
in DOS, does it imply that command.com simply leave this task to 
programmer???)

thanks a lot..

Herman
Technical Details
Message-ID: <3177b1d9.14121359@news.hk.linkage.net>
Path: arc1-ca.pugleaf.net!news1.hk.linkage.net!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news1.hk.linkage.net!news
From: budlo@bud.com (Bud Lo)
Newsgroups: alt.msdos.programmer,comp.lang.c
Subject: DOS doesn't expands wildcard argument...!
Date: Fri, 19 Apr 1996 15:49:32 GMT
Organization: LinkAGE Online Limited
Message-ID: <3177b1d9.14121359@news.hk.linkage.net>
NNTP-Posting-Host: ppp07.netfront.net
X-Newsreader: Forte Agent .99d/32.168