run bat file in powershell script code example Example: powershell run bat file cmd.exe /c '\my-app\my-file.bat'