Skip to main content


Weird. It seems that sometimes Windows will just dump out of a batch file if there's an if statement that contains a REM, even if there are other valid commands in the statement. I'm experiencing in Server 2019 specifically.