CW 10.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW 10.1

1,128 Views
ignisuti
Contributor IV

Is there a way for my build to automatically start running a batch file I specify after the build?

Labels (1)
0 Kudos
Reply
3 Replies

865 Views
CrasyCat
Specialist III

Hello

 

Specify your batch file as post build step.

 

Please refer to following thread for information on how to achieve that

 

https://community.freescale.com/thread/94730

 

CrasyCat

0 Kudos
Reply

865 Views
ignisuti
Contributor IV

I had already tried that approach, but adding the batch file as a Post Build Step gave me odd results.

 

I appears as though instead of running the batch file, CW 10.1 opened the batch file and tried to process the commands it'self, which isn't what I was after.

 

My batch file was called test.bat and I added it as a Post Build Step. This is the Error I received:

"C:\Windows\System32\ExtractsS19.exe" is not recognized as an internal or external command.

 

This is the first line in my batch file. 

 

Note: The batch file works correctly if I run it manually.

0 Kudos
Reply

865 Views
CrasyCat
Specialist III

Hello

 

I did perform some tests with .exe files located on my PC and I get that working fine.

 

I am using Codewarrior MCU V10.1

 

There might be an issue with the executable you are attempting to use.

 

I would recommend you to submit a service request for that.
Click here to submit a service request.
You may have to provide the failing .exe file to allow support engineer to investigate the trouble.

CrasyCat

0 Kudos
Reply