Per description, it’s a very literal wrapper around a WinAPI function. You might have to feed the .bat file to cmd.exe, or use a different action - chances are that you are not the first person on the internet to try running a .bat file through ShellExecute.