Is there any way (in VB5) to take a file path and name taken from a common dialog control and convert it to DOS format?

e.g. C:\hello\thisislongerthan8letters\file.bas

would go to

C:\hello\thisis~1\file.bas