Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

LaunchApp()


3 replies to this topic

edwin868

edwin868
  • Members
  • 3 posts

Posted 09 November 2005 - 16:36

Im having some problems with the commandline for my app i need to launch.

the program needs to be run like this in windows

wscript.exe "c:\script.vbs" "c:\batfile.bat"

Especially the space between the two files is a problem i cant figure out a way to get this in launchap

Edited by edwin868, 09 November 2005 - 16:45.


Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 10 November 2005 - 01:55

The code to do that would work out to the following:

CODE
LaunchApp ("wscript.exe",  "\"c:\\script.vbs\" \"c:\\batfile.bat\"");

However, you should really have the fully qualified path to the executable.
user posted image

edwin868

edwin868
  • Members
  • 3 posts

Posted 11 November 2005 - 10:22

Thx it worked probably never figured that out

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 11 November 2005 - 15:11

You're welcome.

The trickiest part is dealing with special characters, so having to write \\ to indicate a real/embedded backslash character and write \" to indicate a real/embedded quote character.
user posted image