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