Einzelnen Beitrag anzeigen
Alt 23.06.2004, 18:10   #9
Walter
Master
 
Registriert seit: 15.02.2000
Alter: 67
Beiträge: 642


Standard

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
Walter ist offline   Mit Zitat antworten