I have a text file with 2 columns. The second column values are text: not_TEST, TEST1, TEST2, ..., TEST99
I don't want to write 99 times the same thing so I tried to use * but it does seem to work
FOR /F "tokens=1-2 delims=;" %%a IN (input.txt) DO ( if not %%b == TEST* ( echo %%a;%%b>> output1.txt ) if %%b == TEST* ( echo %%a;%%b>> ouput2.txt )
Any suggestions?
Aucun commentaire:
Enregistrer un commentaire