Can a GuiXT input script execute a .bat file outside of SAP?

Yes, on the condition that you have the "InputAssistant" component.

Use "Start" specifying the file name and the parameters. Example:

Start="abc.bat" parameters="&V[Material]"