batch file Send parameter from XOJO

Hi
On Windows
Can send Parameter from XOJO to a batch file

you are calling you BAT file via the SHELL command correct?
If so, then the syntax of the SHELL command should be pretty much the same as if you had typed if from the DOS CMD line

ok
So copy all batch line in XOJO and shell each line

I didn’t say that… that will work ONLY if each line doesn’t rely on the content of any previous line… as each SHELL command normally is executed in its own environment space. otherwise I’d combine them all into a single BATCH file, and execute one and only one SHELL command

ok
thanks

dim sh as new shell
sh.execute “mybatchfile.bat arg1 arg2 arg3”

Hi Tim
Example if you have

Thanks

That was the example.