"Work Around"?? I'm afraid this is your only option my friend - take it or
leave it. The code you are looking at IS "Wildcard Expansion"
No that will not be acceptable.
At work my system admin is putting all relevant file in 1 folder...
over 6500 items.
That type of "work around" would take forever.
I really need correct wildcard expansion.
Thank you anyway.,
roger
On Tue, 29 Jul 2003 09:05:27 +0200, "Scott"
rogdh,
I think this might help you:
(using System.IO
![Wink ;) ;)](/styles/default/custom/smilies/wink.gif)
DirectoryInfo dir = new DirectoryInfo(@"c:\program files");
FileInfo[] files = dir.GetFiles("*.*);
foreach(FileInfo file in files) {
// process files here
}
Reply if it's not what you need,
Scott
Yes, file names.
On Mon, 28 Jul 2003 21:46:53 -0500, "Brian Patterson"
What are you trying to pass as an argument? A filename?
Brian Patterson
My main looks like
static void Main ( String [] args)
When launch the Windows application with a wildcard parameters,
they
are not expanded.
What I get is what I entered.
How do I expand wildcard input?
tia.
roger