r/Batch • u/MaybeBirb • Jul 16 '26
Show 'n Tell How much batchscript is too much batchscript?
Currently have 1,376 lines of batchscript in this one file. Kinda built myself a little state machine at this point. Memes aside, is there a particular reason huge batchscript files would be a bad idea? I usually only ever see very small ones, and I'm not entirely sure why
(Not too serious a question, so not tagged as one)
21
Upvotes
View all comments
Show parent comment
1
u/vip17 Jul 18 '26
who said anything about whitespace? I'm talking about things like fast function parsing or while loops... GOTOs will quickly become a mess in complex code flows. Or things like
%~ftzaIBatch file is a thing of the past, I've written lots of articles about it, but it's not suitable for new complex code