Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get a short path
Message
From
28/08/2008 10:28:42
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01341920
Message ID:
01342550
Views:
12
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.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform