Getfilenamelist Vs. Getfiletitlelist


EOlsen

Recommended Posts

I was assuming GetFileNameList() would return file names with extensions while GetFileTitleList() would return the names only without extensions, but both of them return a list of file names with extensions. Is there supposed to be a difference? If so, what is it?

Link to comment
Share on other sites

Apparently there is no difference any more.  These are straight OS calls and it looks like in the last 13 years, Windows has changed its behavior.  Anyhow, its real easy to get the names without extensions.  Just use Parse();

 

? parse(file.GetFileNameList("c:\daqfactory\*.*"),0,".")

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.