You mean the short (8.3) form of a "long path". It must not be truncated, there are ways to alter the short name to something more meaningfull. The short name is not generated by the api aou mention, it is read out of the directory information where it is stored.
Agnes
>In DOS the long path is truncated. The Windows API function I gave a reference in one of my messages produces DOS-like format of the path.
>
>>Naomi,
>>
>>I will not argue about Help on SP2 ::), Yes ot is upper case. I see no other reason for DisplayPath then to Display as the name suggest. What did you mean with with DOS path?
>>
>>Agnes
>>>
>>>I tried to find this function in Help yesterday in VFP9 SP2. I found that it could not be found by just typing DisplayPath. So I went to functions and found it this way. I also noticed, that it was saying it returns path in lower case while in fact it was returning it in upper case. Also this is for display purpose only, it doesn't mean DOS path, as API solution provides.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]