Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6103 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to send an event - open an application that is installed in C:Program FilesXXXX.exe - I need to pass some command line options along, so I cannot simply use the 'File:' option (which btw works just fine when i test it).

When I use the exact same path that the 'File:' option creates in my calculation, file:../../Program Files/XX/XX.exe, I get an error message when executing the script - cannot find C:Program.... I guess I need to replace the space between Program and Files with some special character - which one is it?

Posted

I dont think that is the issue. Are you using the calculation option or the text option?

With the text option this will work.

"C:Program FilesAIMaim.exe"

With the calc option, you have to escape out the quotes. You can try this.

""C:Program FilesAIMaim.exe""

or you can simply use:

Quote ( "C:Program FilesAIMaim.exe" )

Posted

hmmm...both your options work for the program itself, but the second i add the command line instructions, the error is back...

"C:Program FilesESTsoftALZipALZip.exe -a -af C:TTDatabaseupdate C:TTDatabasettupdate.zip"

BTW- there is no space between Alzip and the .exe...it just looks that way in this post.

I have exactly this command line running without error on a different computer, where the ALzip.exe is installed in a folder without space in the name C:Alzipalzip.exe - the problems is that I would have to reinstall alzip on about 50 machines in the field.... so i better figure that out here at my desk.....

Posted

Hi Vi,

"C:Program FilesESTsoftALZipALZip.exe -a -af C:TTDatabaseupdate C:TTDatabasettupdate.zip"

Have you tried to use quote function on ALL the C:paramater?

For example:

Quote ("C:Program Files...") & " " & "-a -af" & " " & Quote ("C:TT...") & " " & Quote ("C:TT...zip")

Hope it helps...

This topic is 6103 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.