Hi Guys,
I have a following script where I am redirecting my script's output to a log file with date/time stamp:
@echo on
FOR /f "tokens=2-4 delims=/ " %%a in ('DATE/T') do SET mydate=%%c-%%a-%%b
FOR /f "tokens=1-2 delims=: " %%a in ('TIME/T') do SET mytime=%%a-%%b
perl ControlScan.pl >...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.