I have two “exe”(A and B) files and a input(C) file.
- Firstly, The A file will take C as input to execute and then update input(C) file.
- Next, B file will take C as input to execute and then update input(C) file.
- …
- …
- …
These two steps will repeat multiple times.
Which kind of command should I use?
@Echo Off
SETLOCAL EnableDelayedExpansion
SET LIST=cmd cmd
FOR %%G IN (%LIST%) DO (
SET NAME=%%G
START /WAIT CMD /C !NAME!
)