Under dos, how to get wildchar matched file names?
PS E:> dmd a.d
PS E:> .\a.exe a.*
args=["a.exe", "a.*"]
d-glob doesn't function well under windows dos either.
March 10, 2023 How to expand wildchar under dos ? | ||||
---|---|---|---|---|
| ||||
Under dos, how to get wildchar matched file names? PS E:> dmd a.d d-glob doesn't function well under windows dos either. |
March 10, 2023 Re: How to expand wildchar under dos ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Xu | On 3/9/23 19:24, John Xu wrote: > Under dos, how to get wildchar matched file names? Have you tried dirEntries? It supports glob patterns: https://dlang.org/library/std/file/dir_entries.html Ali |