Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a desktop shortcut
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01149668
Message ID:
01150281
Views:
32
This message has been marked as the solution to the initial question of the thread.
It will work but I prefer self documented syntax
lcFolder = WshShell.SpecialFolders("Programs")
    * Other special folders
    * AllUsersDesktop
    * AllUsersStartMenu
    * AllUsersPrograms
    * AllUsersStartup
    * Desktop
    * Favorites
    * Fonts
    * MyDocuments
    * NetHood
    * PrintHood
    * Programs
    * Recent
    * SendTo
    * StartMenu
    * Templates 
It's also misleading to use 'strDesktop' variiable to store 'Programs'.

>The program at Start/Programs are at
>
>strDesktop = ff.Item(2)
>
<snip>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform