/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
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.
Answered 01/26/2011 by: Thegunner
Second Degree Green Belt

Please log in to comment
0
yeah, thanks, lol. I thought about that about 15 seconds after I posted this....


I appreciate you looking at it though.
Answered 01/26/2011 by: dyehardfan
Second Degree Blue Belt

Please log in to comment
0
ORIGINAL: dyehardfan

yeah, thanks, lol. I thought about that about 15 seconds after I posted this....


I appreciate you looking at it though.


No worries, glad to help
Answered 01/26/2011 by: Thegunner
Second Degree Green Belt

Please log in to comment