• Resolved

Compiler/TMS320F28035: How to run .bat file from c

Part Number: TMS320F28035

Tool/software: TI C/C++ Compiler

Hi all,

I have a batch file and I need to run it in main.c. For example:

...

if ( a==1)

{

// execute x.bat which is in desktop or in project folder

}

...

I tried system(), PowerShell()  etc. but could not reach success.

Best regards