r/programming • • Oct 07 '25

[ Removed by moderator ]

/r/programming/comments/1o08ctb/removed_by_moderator/

[removed] — view removed post

0 Upvotes

4 comments sorted by

•

u/programming-ModTeam Oct 07 '25

This is a demo of a product or project that isn't on-topic for r/programming. r/programming is a technical subreddit and isn't a place to show off your project or to solicit feedback.

If this is an ad for a product, it's simply not welcome here.

If it is a project that you made, the submission must focus on what makes it technically interesting and not simply what the project does or that you are the author. Simply linking to a github repo is not sufficient

1

u/AyrA_ch Oct 07 '25

All code in a single file with over 6000 lines

Magnificent

1

u/Ok_Bottle8789 Oct 07 '25

It really doesnt matter in terms of execution time, it performs just as well as if it were separate files, it's very fast. If you would like to change it you are always free to open a pull request.

2

u/mallardtheduck Oct 07 '25

Ran it on a moderately complex batch file. Some observations:

  • E032 comes up on every line that ends with a caret. None of them have trailing spaces.

  • E006 is a bit pointless; I use existing environment variables in my script, I expect many people do. Also, why is this an "E" code when it's a warning?

  • Following W005's recommendations blindly will break many scripts.

  • Is W011 only supposed to flag the first use of "echo"?

  • W016 is flat-out wrong (at least when "SETLOCAL EnableDelayedExpansion" is in effect). %VAR% and !VAR! mean different things and cannot be replaced with one or the other for "consistency".

  • W024: Since when was "xcopy" deprecated? The official Microsoft documentation makes no mention of this.

  • W025/W041: I wouldn't recommend hiding errors...

  • S018 refers to all labels as "functions", S021 refers to the same as "subroutines".

  • SEC006 is not a security issue, despite its categorisation. It's at best, a portability/potential-for-distribution issue. Many batch scripts are not designed to be distributed and run on other systems without changes.

  • P011 is useless as the analysis does not consider flow control.