>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,
The WSH can do this as well, plus retrieve the name of the All User's Desktop.
oShell = CREATEOBJECT('WScript.Shell')
? oShell.SpecialFolders("AllUsersDesktop")
? oShell.SpecialFolders("Desktop")
George
Ubi caritas et amor, deus ibi est