ich möchte in einer Batchdatei ein Verzeichnis mit dem
aktuellen Datum erzeugen.
Dies funktioniert theoretisch auch über:
md %date%
Leider kommt da ein Datumsformat in der Form „Mo 24.11.2003“
heraus.
Wenn es den unbedingt ein Batch sein soll, sieht mir das nach einem Fall für 4DOS/4NT/Takecommand aus, siehe www.jpsoft.com. Leider ist nur eine 30-Tage-Version umsonst. Da gibt es Funktionen wie
Dates and times
\_date \* Current date
\_day Current day of the month
\_dow Current day of the week, English, short
\_dowf Current day of the week, English, full
\_dowi Current day of the week as an integer
\_doy Current day of the year
\_hour Current hour
\_idow (4NT, TC) Current day of the week, local language, short
\_idowf (4NT, TC) Current day of the week, local language, full
\_isodate Current date in ISO 9601 format (YYYY-MM-DD)
\_minute Current minute
\_month Current month of the year
\_second Current second
\_time \* Current time
\_year Current year