How to get all the file name in a folder?
Posted on 2002-07-24
My question is... how can i get all the file name which located in a specific folder?
For example, there are file1.txt, file2.txt and file3.txt inside MyFolder. But i've no idea at all what files and how many files are inside the folder, what i knew is juz the specific path to the folder name (e.g. C:\MyDocument\MyFolder\)
So base on the limited info i have, can i retrieve all the file names inside that specific folder?
I did try on FileSystemObject's GetFileName function, but this is not wat i want.
So, experts do u have any ideas on it??... plz share with me!