04-15-2016 05:23 PM
I'm trying to run an exe file with options. I found this link: http://digital.ni.com/public.nsf/allkb/5CF9526FF069EA8E862564C400579DBA
The issue is that I have to run the code thousands of times with different options and it is not realistic to create thousands of different .bat files. Is there another way to do this where I can change the executable options on the fly?
04-15-2016 05:39 PM
Instead of passing the string
somefile.exe -option1 -option2
try
cmd /c "somefile.exe -option1 -option2"
04-18-2016 02:00 AM
There's no need for a batch file, you can call it directly from LV with System Exec and the correct command line. That way you can generate the command line through e.g. Format into string.
/Y