General information
Category:
Windows API functions
the desktop dir shuold be
?GETENV("USERPROFILE")+"\Desktop\"
to create a shortcut try this:
oshell = CreateObject("WScript.Shell")
lnk = oshell.CreateShortcut("foo.lnk")
lnk.TargetPath = "c:\dummy.exe"
lnk.Save
HTH
Franco
>Does any one know how to create a windows shortcut programatically?
>
>And along with that determine the Desktop folder to save it into?
>
>Thanks.
>
>Bob
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only