REM This scripts downloads the mnist data and unzips it.
SET wget="../../tools/3rdparty/bin/wget.exe"
SET gunzip="../../tools/3rdparty/bin/gunzip.bat"
ECHO "Downloading..."
FOR %%G IN (train-images-idx3-ubyte train-labels-idx1-ubyte t10k-images-idx3-ubyte t10k-labels-idx1-ubyte) DO (
%wget% --no-check-certificate http://yann.lecun.com/exdb/mnist/%%G.gz
%gunzip% %%G.gz
)
ECHO "Done."
Se você usa muitos comandos em loop, você precisa colocar entre colchetes ().