Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get a short path
Message
From
26/08/2008 14:27:59
 
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:
01341930
Views:
18
>>I have a memory blackout. I know that VFP has a command to show a "short" path, so that C:\blah\blah\blahblah\blah\myfile.ext is shown as something like C:\bla\...\myfile.ext. But I can't remember the name of this function. Help is appreciated.
>
>
>*DisplayPath(cFilename, nMaxLength)
>
>lcFileName = "C:\blah\blah\blahblah\blah\myfile.ext"
>? DisplayPath(lcFilename, 25)
>
That's it, thank you. I must have overlooked it a zillion times.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform