Correct. Moreover, the errorlevel is actually a >= test, so you have to put them in high-to-low order, as in this batch file.Master wrote: Sun Oct 12, 2025 5:59 pm I'm not a software developer by any stretch, but damn that's a lot of IFs. Guess .bat files don't do case statements?
What I don't understand is why you need all those errorlevels instead of just using choice /c:dwg. I guess you don't want it beeping at you?Reese Riverson wrote: Sun Oct 12, 2025 5:56 pmCode: Select all
choice /n /c:123456789abcdefghijklmnopqrstuvwxy?z








