PPWIZARD Manual
[Bottom][Contents][Search][Prev]: /IncludePath[Next]: /Info

Switch /List[:ListFileName]

This is a PPWIZARD command line switch. You can set up your own default switches in the "PPWIZARD_OPTIONS" environment variable or in project files.

This switch allows you to pass a file containing a list of ppwizard switches and/or file masks (possibly produced by a /hook hook) to ppwizard.

Inline comments are removed (these begin with ';;'). Blank lines or lines beginning with ';' are ignored.

Each line must contain one and only one file mask or ppwizard option. Leading and trailing spaces are removed all others are replaced with '{x20}' as it is assumed they are required.

One of the advantages of using a list file to hold options is that you do not have any problems with the operating system's command line processing getting in the way, for example you can use redirection characters such as '>' without problems.

Note that ppwizard will automatically read in any file named "ppwizard.ppw" (default project file) using this mechanism. This makes it much simpler to use ppwizard via a graphical interface (such as Window's explorer) while also making it easier to use from the command line.

Te list file can of course load other definitions from environment variables or other list or project files if required.

The main difference between the "/list" switch and using "@" to indicate a project file is that with the "/list" switch you specify where the file is and with project commands such as "@all" ppwizard will look for a file called "all.ppw" in certain locations (current and ppwizard directories).

Example Of LIST File

;-----------------------------------------------------------------------
;--- This file builds HTML for all "*.IT" files in current directory ---
;-----------------------------------------------------------------------

*.IT                       ;;Only build files matching this mask
/DependsOn:DEP\*.DEP       ;;Only rebuild files that need it (new or modified)
/Output:OUT\*.htm          ;;I like files generated into the "out" directory and with the ".htm" extn


[Top][Contents][Search][Prev]: /IncludePath[Next]: /Info

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Tuesday January 02 2001 at 7:37am