Software
>>
OS
>>
Windows
>>
Command Line
>>
How to extract the weekday from current date and assign to environment variable
for /f "tokens=1 delims= " %%a in ('Date /T') do set wkday=%%a echo %wkday% environment variable %wkday% will contain the 3 char weekday
Please enable JavaScript to view the
comments powered by Disqus.