Rob van der Woude's Scripting Pages

Help text for BatCodeCheck.cs

(view help text of BatCodeCheck.cs as plain text)

BatCodeCheck,  Version 0.32.1 beta
Search batch source code for common errors

Or:      BATCODECHECK  batchfile [ logging ] [ options ]

Usage:   BATCODECHECK  [ batchfile ]  /I

Where:   batchfile       is the batch file to be checked and highlighted
Logging: /L[:"logfile"]  Log results in ASCII format, replace file if it exists
         /H[:"htmlfile"] log results in HTML format, replace file if it exists
                         (default output file names equal batchfile name, with
                         extension .log or .html)
Options: /E              include local Environment in defined variables list
         /I              open Interactive settings dialog (licensed version)
         /S              Split one-liners into separate command lines
         /T              add a Timestamp to the default output file names
         /W              Wrap messages in source code (default: chop them)

Notes:   The source code is displayed with highlighted ECHOed text,
         comments, quoted strings, redirection, parenthesis and variables.
         A warning message will be displayed if code errors were found.
         Warning messages in the source code are chopped by default, and
         repeated again (wrapped) at the end of the source code.
         A non-zero return code means something was wrong, either on
         the command line or in the source code. A return code greater
         than 1 indicates the last line where an error was detected.
         False positives cannot be prevented entirely, use common sense
         when evaluating the warnings and error messages.

Written by Rob van der Woude
http://www.robvanderwoude.com

page last uploaded: 2017-03-25, 21:31