I have a folder called c:\myFolder. Inside the folder has 3 files, which is a.gif, b.gif,c.gif, and a folder called subFolder.
Now given the path C:\myFolder, how do get all the file name or folder name inside? And how to distinguish a folder from a file?
(I only need first level of file name, ie no need to recurse the subfolder)
Now given the path C:\myFolder, how do get all the file name or folder name inside? And how to distinguish a folder from a file?
(I only need first level of file name, ie no need to recurse the subfolder)