J Trahair
Well-known member
I want to find out what files are in a directory. When I use:
it does not cause an exception, it just returns 'System.String[]'.
I've tried with and without final \ (as in System.IO.Directory.GetFiles("\MyFolder\") and with and without .ToString.
I've tried MSDNand etc. but nothing works.
What am I doing wrong? Thank you.
HTML:
strTemp = System.IO.Directory.GetFiles("\MyFolder")
I've tried with and without final \ (as in System.IO.Directory.GetFiles("\MyFolder\") and with and without .ToString.
I've tried MSDNand etc. but nothing works.
What am I doing wrong? Thank you.