before build/rebuild run my exe

Hi

    I'm a student doing an experiment.

    I want to use an exe file to automatically change the version number in a .h file.This exe file is called before keil compiles and is compiled after the version number is increased.

    After setting the options in keil, I click build/rebuild, but nothing happens.The version number was not increased, and the compile output box did not report an error.But if I double-click on the exe file, it works fine.

    Did I set it up wrong?Keil 5.26.2

thanks

tangyu

More questions in this forum