only do if day… batch file

后端 未结 7 1730
南笙
南笙 2021-02-09 00:43

hello i got a batch file, something like this:

if %day%==monday, tuesday, wednesday, thursday, friday (
goto yes
) else (
goto no
)

Now i know

7条回答
  •  我在风中等你
    2021-02-09 01:01

    IF %day% == monday GOTO YES
    IF %day% == tuesday GOTO YES
    IF %day% == wednesday GOTO YES
    IF %day% == thursday GOTO YES
    IF %day% == friday GOTO YES
    GOTO NO
    

提交回复
热议问题