I want to execute something in a shell / terminal on Windows via AutoIt. And I know that there are two ways to do this. For instance:
Run(@ComSpec & " /c " & $myCommand, "", @SW_HIDE) ;and ShellExecute($myCommand)
I do not understand the difference; both functions will do what I want, but what is behind them? What pros and cons do they have?
source share