How to convert LFN Path to DOS path ?

Hi , here's my stupid question :

i have my filename C:\program files\skizo_code\toto.exe
i want to convert it into 8.3 dos format .. what is the right Win Api i have to use ? thx in advance :)
SkizoWalkerAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
This one is not soo stupid ;-)

Call the 'GetShortPathName()' Win32 API funtion...
0
 
SkizoWalkerAuthor Commented:
thanx for beeing so induuulgent ;)!
here's the point so .. have a nice day

0
All Courses

From novice to tech pro — start learning today.