Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a Desktop Shortcut from VFP
Message
From
03/09/2001 11:33:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00551804
Message ID:
00551810
Views:
22
This message has been marked as the solution to the initial question of the thread.
>How can I Run a Desktop Shortcut from VFP?
>
>Thanks in advance,
>
>Enmanuel

This example works on my machine:
run start c:\windows\escritorio\pcp.lnk
For a more elegant solution, you should probably check the download section, or FAQ, on how to open a document with its default application.

I don't know how to get the desktop folder, which I hardcoded above.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform