I'm probably doing something fundamentally wrong here but I can't seem to determine a list of folders within another folder on the local machine. I've been able to successfully use the 'FindFirst()' function to obtain a list of files of a specific type (for instance with the extension '.txt') but can't seem to obtain a list of folders. I've tried but to no avail. If I use the code 'FindFirst('C:\Folder1', faDirectory, tpSearchRec)' I only get the list 'Folder1'. I've tried variations on a theme here but seem to have no luck. Does anyone have a fool-proof (and idiot-proof) solution to this one.
Thanks in advance.
Steve
Thanks in advance.
Steve