In several instances I am doing some initial processing in Winbatch and then invoking an autoit script to complete my process. The problem occurs when I issue a RunWait(Winbatch) command to invoke a specific autoit script. What happens is the editor starts. According to the registry the default process is RUN not EDIT. Can you shed any light on this problem. I can get around it by using a different version of the Run command. I would prefer not to use this second version of the Run command as it more complicated.
This is the Winbatch function being attemped
RunWait("C:\Program Files\Autoit3\myau3s\test04.au3", " ")
and this is the one that works but I do not like
RunShell("C:\Program Files\autoit3\autoit3.exe","test04.au3","C:\Program Files\autoit3\myau3s\",@Normal,@WAIT)
This is the Winbatch function being attemped
RunWait("C:\Program Files\Autoit3\myau3s\test04.au3", " ")
and this is the one that works but I do not like
RunShell("C:\Program Files\autoit3\autoit3.exe","test04.au3","C:\Program Files\autoit3\myau3s\",@Normal,@WAIT)