AnsweredAssumed Answered

execute command transition parameters

Question asked by Jeremy Schmidt on Apr 27, 2011
Latest reply on Apr 28, 2011 by Jeremy Schmidt

How do you pass a parameter with a space in the string to an executable in a transition?  I have tried putting single quotes and double quotes around the parameter, but it doesn't seem to matter.  It seems to split the string into mulitple parameters.  For example, I wanted to start the application C:\Program Files\Test\Program.exe, so my command line was: C:\Program Files\Test\Program.exe.  It tried to open C:\Program.  So I moved the program to C:\Test\Program.exe and everything worked fine.  Then I tried to pass the preset "File Path" parameter to my executable.  The filepath is C:\EPDM\New Folder\testfile.txt.  It passes "C:\EPDM\New" as the first parameter and "Folder\testfile.txt" as the second parameter.  If I run it from the command prompt with each parameter surrounded by double quotes, I have no issues.  What is going on?