You can find tutorials about how to write a shell script on Linux or a Windows batch file.
– user30184Apr 9 at 19:40

See the note here on the --optfile argument, you could create a text file of your projwin/input/output for each then run gdal_translate on those in batch. e.g. for %f (*.txt) do gdal_translate --optfile %f on Windows. Although if you're gonna batch create those text files you might as well just run gdal_translate at the same time...
– mikewattApr 9 at 21:07