I need to translate a linux batch file into a windows bat file.
for FILE in *.tif
do
NEWFILE=../lowres/${FILE}
gdal_translate -outsize 25% 25% $FILE $NEWFILE
done
I don´t know how to set a variable in a windows bat file.
Thanks for any help,
cheers,
Rob
I’m not sure what
${FILE}does, the following runs;for each .tif in the current directory;