I'm trying to run an awk program from a DOS batch file. I want to output each xms file in my directory to a txt file. This:
for %%f in ( *.xms ) do c:\awk\gawk -f c:\awk\cann.awk >*.txt
doesn't work. Does anyone know how to loop through the files of type xms and output each to a txt? More of a DOS question, but.....
Thanks very much.
for %%f in ( *.xms ) do c:\awk\gawk -f c:\awk\cann.awk >*.txt
doesn't work. Does anyone know how to loop through the files of type xms and output each to a txt? More of a DOS question, but.....
Thanks very much.