ShellExecute does not run the way I expect. Why not?

This works fine : ShellExecute("notepad.exe", "", "" );
But let's put notepad.exe in a file called np.bat and run the following ; ShellExecute("runbatch", "np.bat", "" );
Why is this giving me a format error ?

runbatch refers AmiBroker batch but not to Windows batch files.

1 Like

Pffffff ... yes of course. Thanks ...