DAS IST JA GENIAL !!!!
ich hab den Script etwas modifiziert:
for /f "tokens=1,*" %%i in ('echo %date%') do (
set tag=%%i
set Wochentag=%%j)
if %tag%==Mo set Wochentag=Montag
if %tag%==Di set Wochentag=Dienstag
if %tag%==Mi set Wochentag=Mittwoch
if %tag%==Do set Wochentag=Donnerstag
if %tag%==Fr set Wochentag=Freitag
if %tag%==Sa set Wochentag=Samstag
if %tag%==So set Wochentag=Sonntag
rem echo %Wochentag%
set tag=
FUNKTIONIERT !!!!
jetzt musst du mir nur noch erklären, was du da eigentlich machst, speziell in den ersten drei Zeilen.
Auf jeden Fall: Vielen Dank !!
____________________________________
Walter
...only Bill Gates verstates
|