I use the following command in a batch file:
winscp sitename /command "get /filename.160313.tgz q:\localfolder\"
which downloads the file using winscp program.
What I'd like to do is have "160313" be automatically generated based on today's date.
How would I replace 160313
with such variable?