Is there a method for determing if a filespec holds an extension?
In the old DOS days of 8:3 filenames it was fairly straight forward - look for the "." - not so simple with long names. For example you may find a valid filespec of:
In this example I would regard the ".dt" as the file extension.
If there's no easy or established method, I'll develop my own but I thought this issue must have been "solved" before.
Pat
In the old DOS days of 8:3 filenames it was fairly straight forward - look for the "." - not so simple with long names. For example you may find a valid filespec of:
Code:
filespec = "MyValidFile.Name.txt.dt"
If there's no easy or established method, I'll develop my own but I thought this issue must have been "solved" before.
Pat
Comment