If else mit sprungmarke
HI ich hatte hier schon mal wegen der Berechnung eines Wochentages nachgefragt: Wochentag.bat
nun würde ich gerne für ein anderes Script herausfinden ob Tag1 oder Tag 2 ist.
Mein Versuch ist:
Wahrscheinlich bin ich einfach zu doof aber ich verstehe nicht wirklich warum das nicht funktioniert?
nun würde ich gerne für ein anderes Script herausfinden ob Tag1 oder Tag 2 ist.
Mein Versuch ist:
if %dow% neq 3 (goto sonntag) Else goto download
:sonntag
if %dow% neq 7 (goto :eof) Else goto download
:download
wget
Wahrscheinlich bin ich einfach zu doof aber ich verstehe nicht wirklich warum das nicht funktioniert?
Please also mark the comments that contributed to the solution of the article
Content-Key: 174303
Url: https://administrator.de/contentid/174303
Printed on: April 20, 2024 at 00:04 o'clock
1 Comment