I have gone through many questions, but not able to make my code work. just want to use if/else statement
I have three products i.e. GMAXGateway,PositionMessaging,RensburgGateway for which I need to perform same action, and for rest three same.
I tried if/else/for but of no success
Original code is below
%3\mqsicreatebar.exe -data "%1" -b "%2" -cleanbuild -a %product%
I have tried below, and many other examples given on websites
For %%A IN (GMAXGateway,PositionMessaging,RensburgGateway)DO (%3\mqsicreatebar.exe -data "%1" -b "%2" -cleanbuild -a %product% -l integrationemm commonemm)
For %%A IN (OneTISGateway,AccountMessaging,SecurityMessaging)DO (%3\mqsicreatebar.exe -data "%1" -b "%2" -cleanbuild -a %product%)
Was wondering how to fix the same.