Software >> OS >> Windows >> Command Line >>  How to assign current week day to env var

@for /f "tokens=1-2 delims= " %%a in ('Date /T') do set DayVar=%%a echo "%DayVar%"

Deals @yubeshop.com