Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path of
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00586891
Message ID:
00586902
Views:
18
>Hi, everyone
>
>Q1. How can I get the path of 'Desktop' ?

A couple of ways. You can download my Shortcut Link Files from the files here at the UT. This comes with a help file in VFP syntax that you can cut and paste into your program.

The other option is the Windows Script Host.
oShell = CREATEOBJECT('WScript.Shell')
? oShell.SpecialFolders("Desktop")
* Not supported under Win9x/Me
? oShell.SpecialFolders("AllUsersDesktop")
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform