PDA

View Full Version : VBScript - better way of writing ?



geoffcox
12-14-2002, 11:34 AM
Hello,

I have following code which creates a desktop shorctut as part of an ISX v4 package - it works but I wonder if there is a more concise way of writing it?

Cheers

Geoff

oShellLink.Arguments = " -classpath .;" & chr(34) & strinstalldir & "firstfile.jar" _
& chr(34) & ";" _
& chr(34) & strinstalldir & "obfile.jar" & chr(34) & ";" _
& chr(34) & strJavaHome & "\lib\rt.jar;" & chr(34) _
& " cd.file.Speech /url=file://" _
& chr(34) & strinstalldir & "documents\intro.htm" & chr(34)
oShellLink.IconLocation = strinstalldir & "iconDLL.dll, 0"
oShellLink.Save