I need to write a file path (gathered from a startup variable) into an INI file in the old 8.3 format.
ie
c:\program files\the language market\japanese\
needs to look like
c:\progra~1\thelan~1\japane~1\
I've noticed else where from searches that you need to put quotes around a long file name if it contains spaces - but nothing on truncating to DOS/Win3.1 friendly format.
Cheers
Alistair
ie
c:\program files\the language market\japanese\
needs to look like
c:\progra~1\thelan~1\japane~1\
I've noticed else where from searches that you need to put quotes around a long file name if it contains spaces - but nothing on truncating to DOS/Win3.1 friendly format.
Cheers
Alistair
Comment