meastaugh1
Technical User
- Apr 21, 2002
- 316
Hi,
I have the following in my logon script:
Set WshShell = CreateObject("WScript.Shell")
strDesktopPath = WshShell.SpecialFolders("Desktop")
Set objShortcutLnk = WshShell.CreateShortcut(strDesktopPath & "\Shortcutname.lnk")
objShortcutLnk.TargetPath =chr(34)&"c:\program files\internet explorer\iexplore.exe" & chr(34) & " objShortcutLnk.Save
I would expect the target to be:
"c:\program files\internet explorer\iexplore.exe"
Instead, I get:
"c:\"c:\program files\internet explorer\iexplore.exe"
Any ideas what this is about?
Thanks
I have the following in my logon script:
Set WshShell = CreateObject("WScript.Shell")
strDesktopPath = WshShell.SpecialFolders("Desktop")
Set objShortcutLnk = WshShell.CreateShortcut(strDesktopPath & "\Shortcutname.lnk")
objShortcutLnk.TargetPath =chr(34)&"c:\program files\internet explorer\iexplore.exe" & chr(34) & " objShortcutLnk.Save
I would expect the target to be:
"c:\program files\internet explorer\iexplore.exe"
Instead, I get:
"c:\"c:\program files\internet explorer\iexplore.exe"
Any ideas what this is about?
Thanks