On Saturday, 19 May 2012 at 03:46:32 UTC, Jay Norwood wrote:
Here is a link to some code for the wildArgv single level search that I'm using.https://github.com/jnorwood/file_utilsThis is roughly how I was using it, related to your example string[] argv; argv ~= r"c:\partial*"; foreach( dirn; wildArgvs(argv[0..$])){ string[] argv2 = null; argv2 ~= dirn ~ r"\path\*.d"; foreach( filen; wildArgvs(argv2[0..$])){ do something with filen } }
Thanks for your help :)