Answer the question
In order to leave comments, you need to log in
How to write .bat'nick with time conditions check?
Hello! I want to write a .bat file to execute certain commands in a certain amount of time.
But something doesn't work :(
Tell me - where is the mistake?
if "%TIME: =0%" lss "23:00:00,00" (if "%TIME: =0%" gtr "07:00:00,00" echo Comand1) else (echo Comand2)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question