Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get short path name in VFP?
Message
 
To
16/10/2002 17:39:48
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00711861
Message ID:
00712056
Views:
11
Nancy,

The application is built in such a way that it feeds to the printer driver file names dynamically based on the current record in a table. The application organizes the files printed into a sub-folder of the application. It is not predictable where the users will install the application. Usually, it would end up in \Program files\company\application folder. That is to say, the sub-folder would be \program files\compay\application\documents. If I have a file named "abc.tif", this is would be the long path: \program files\company\application\documents\abc.tif.
Therefore, I may very well get a long path and a long file name.
My application has to be able to convert long path and file names to short ones.

Thanks,

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform