3 ms·
I was having a friendly conversation with my boss. I tried to joke about how windows batch basically gaslit me for half an hour, because I didn't know batch var
by jacobwilliamroy 6y ago
I was having a friendly conversation with my boss. I tried to joke about how windows batch basically gaslit me for half an hour, because I didn't know batch variables are substituted at evaluation time, not runtime, so it basically makes it impossible to reassign a variable unless it's in a batch script file with EnableDelayedExpansion turned on. I don't think I fully communicated the joke but I learned a lot just by trying to.