Having a problem with this and wondering how it should be called. I'm trying to call the Beyond Compare exe. In a DOS window, I can call it usingbcomp.exe @bc_batch.txt /silent The @ tells BC that bc_batch.txt contains a number of BC "commands". The /SILENT says I don't want to see any GUI window showing the results.
I've tried the following in RPC
compare_directory = 'c:\program files\Beyond compare 3'
compare_exe = 'Bcomp.exe'
bc_cmd = compare_directory"\"compare_exe
bc_batch_filename = "bc_batch.txt"
command(bc_cmd' @'bc_batch_filename' /silent')
The iterateexe is commented out 'cos I simply can't get it to accept the @ parms. The command line is not commented since this works fine.
Any suggestions on how to get this to work. (The documentation on ITERATEEXE is, to me, a bit confusing. I'm not really sure how the source, destination, before and after are suppose to be used i the example above). |