Answer the question
In order to leave comments, you need to log in
How to download and rename multiple files automatically in CMD?
You need to download several files from the links and automatically rename them to *filename*-MMDD.ext
In order for the download to proceed in parallel, I call wget in the bat file via start, and then rename it.
start wget "https://site.com/filename.ext" --secure-protocol=auto -O "C:\filename.ext"
set CURDATE=%date%
ren A:\filename.ext filename-%CURDATE:~3,2%%CURDATE:~0,2%.ext
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question