Nome del Giorno in un batch di Win XP
Per ottenere una variabile che contenga il nome del giorno (3 lettere) in un file batch di Windows XP, implementare il seguente script:
@echo off
Echo.|Command /C Date|Find "corrente">DOW
set /p today=<DOW
set DOW=%today:~19,3%
echo %DOW%
del DOW