Help Me Debug? Desktop Shortcut
Set WshShell = CreateObject("WScript.Shell")
strDesktopPath = WshShell.SpecialFolders("AllUsersDesktop")
Set objShortcutUrl = WshShell.CreateShortcut(strDesktopPath & "\World Client.lnk")
objShortcutUrl.TargetPath = "http://mail.camelliahealth.com:3000";
objShortcutUrl.IconLocation = "c:\windows\system32\shell32.dll,81"
objShortcutUrl.Save
I am getting an error at Char 66 on Line 4, Expected end of statement....statement looks ended to me....
Anyone got an idea?
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
Thegunner
13 years ago
ORIGINAL: dyehardfan
Set WshShell = CreateObject("WScript.Shell")
strDesktopPath = WshShell.SpecialFolders("AllUsersDesktop")
Set objShortcutUrl = WshShell.CreateShortcut(strDesktopPath & "\World Client.lnk")
objShortcutUrl.TargetPath = "http://mail.camelliahealth.com:3000";
objShortcutUrl.IconLocation = "c:\windows\system32\shell32.dll,81"
objShortcutUrl.Save
I am getting an error at Char 66 on Line 4, Expected end of statement....statement looks ended to me....
Anyone got an idea?
You have ';' at the end.
Posted by:
dyehardfan
13 years ago
Posted by:
Thegunner
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.