PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: /Exec[Next]: /FileNames
\ -> PPWIZARD Command Line -> Switches -> /ExtnInfo

Switch /ExtnInfo[:ExtnList:ExtnSpec]

This is a PPWIZARD command line switch.

This switch allows you to configure default information for an input file extension. This includes processing modes and file output file generate masks. If the generated output can be syntax checked then you can also define this.

If no parameter is passed then this is a request to clear any existing extension information (both PPWIZARD inbuilt and user defined).

PPWIZARD sets up some defaults (such as a ".it" file generates ".htm" in "HTML" mode), these can be overridden by this switch.

The "ExtnList" parameter is one or more comma separated extensions (no leading dot). "*" can be used to represent all extensions.

The "ExtnSpec" parameter is one or more space or comma separated values which look like:

  1. Variable
    This is the name of a variable. The variable name is case sensitive and can be any text, predefined values are:

    Any other value is not used by PPWIZARD and you can obtain the information using ExtnInfoGet(). Note that PPWIZARD reserves all values containing upper case characters (it will never use all lower case ones).

  2. =
    The equal sign is a delimiter.

  3. Quoted Value
    The value in any quotes.


Change extension of generated HTML to ".html", make sure the directory is as specified on command line (defaults to current directory), and specifically add the ".i" extension. Note that while the ".i" is covered by the "*", it would not be if "*" was later redefined.


You can also have a look at the PPWIZARD_OPTIONS example.

email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: /Exec[Next]: /FileNames

My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am