Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wscript.shell
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Wscript.shell
Miscellaneous
Thread ID:
00364108
Message ID:
00364108
Views:
58
I'm using a Windows scripting object to create shortcuts on the desktop. Here's the code:

*********************************************
loShell=CREATEOBJECT('wscript.shell')
lcDesktopFolder=loShell.SpecialFolders('Desktop')
lcLinkFileName=lcDesktopFolder+'\newshortcut.lnk'

loShortcut=loShell.CreateShortcut(m.lcLinkFileName)
loShortcut.TargetPath='m:\test\exes\merlin6\test_doctrack.exe'
loShortcut.SAVE()
**********************************************

Does anyone know how to specify the "START IN" directory in code?
Next
Reply
Map
View

Click here to load this message in the networking platform