Hello,
In CMD batch files generally the solution is quite simple — we should use the %date% and %time% built-in variables, that display date and time based on the regional coding.
for date
echo %date%
for time
echo %time%
just add in front of output file name in connect script for example - "D:\path\outfile_%date%%time%"
--If the reply is helpful, please Upvote and Accept as answer-