ok, i dont like the 4 either but i couldnt be arsed to do an InStr(aFile.Name, "."), you can add that if your files have mixed length of file type string
We can always use .getbasename() and .getextensionname() methods to isolate out the "base" and "extension" parts. Extension can be all kinds in other os as well as in dos/windows.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.