vi Posted March 7, 2008 Posted March 7, 2008 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?
mr_vodka Posted March 7, 2008 Posted March 7, 2008 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" )
vi Posted March 8, 2008 Author Posted March 8, 2008 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.....
_henry_ Posted March 10, 2008 Posted March 10, 2008 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...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now