system: Windows Pro SP2
Question:
How do I retrieve filenames from a given directory?
Attempts:
system("dir directory");
I looked at the code in DWK's df program, but it was in C, and was very confusing.
system("dir"); works but I don't want to have to make a parser for the file it creates.
I was wondering what other possible solutions you all may have that could assist me.
Thank you.