Hi Stefan
>* API:
Yes, thanks, this does the job, but I think an UPPER(ALLTRIM(CHRTRAN(lcShortName, CHR(0), ''))) is required
>* WSH (seems easier but may not always be available):
This did not take filenames only pathnames
I tried the ADIR() but that only returns the filename of the given path. Did I miss something?