Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a shortcut
Message
From
22/06/2001 16:43:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Making a shortcut
Miscellaneous
Thread ID:
00522646
Message ID:
00522646
Views:
44
Hi every one
I need make a shortcut. With this program I can do it, but it lack the star in property:
Destiny: (is ok)
Star in : (this lack)
I wonder if some one can help me.

oWsh = CreateObject("WScript.Shell")
cDesktopDir = oWsh.SpecialFolders("Desktop")
** to indicate the """Destiny:"""
oLnk = oWsh.CreateShortcut(cDesktopDir + "\\Shortcut to Notepad.lnk")
**to indicate the """Star in:"""
oLnk.TargetPath = cDesktopDir + "\\notepad.lnk"
oLnk.Save()

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform