Jean-Guy2000
April 20th, 2001, 12:41 PM
I was wondering if anyone knows of a class or function that will spilt a filepath like "C:\TEMP\myfile.doc" into the 3 parts
path = C:\TEMP\
File = myfile
extension = doc
???
I know if can be done with the FSO but it's a waste to include that just for this. And I want to handle files with no extension or with 2 "."'s in the name so using string functions like instr is not reliable.
Jean-Guy
path = C:\TEMP\
File = myfile
extension = doc
???
I know if can be done with the FSO but it's a waste to include that just for this. And I want to handle files with no extension or with 2 "."'s in the name so using string functions like instr is not reliable.
Jean-Guy