PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: LONG COMMAND LINES / CONFIGURATION FILES[Next]: Switches
\ -> PPWIZARD Command Line -> Project Files

Command Line: @Project

PPWIZARD allows you to put all or some of your file specifications or switches into project (configuration) files with a default file extension of ".ppw" and easily refer to them from the command line.

PPWIZARD uses FindFile() to search for project files. Basically the project facility is a "smarter" version of the /List functionality (and easier to type!). If you need to refer to project files in specific directories then the "/list" switch is required.

PPWIZARD automatically looks for a specific project file (called "ppwizard.ppw"). By default if all input files have the same extension then ppwizard will also try to load an extension based project file, see the /@EXTN switch for more information.

See the /List switch for more details on the file format, but here is a sample configuration file (lets call it "all.ppw"):

;-----------------------------------------------------------------------
;--- This project file:
;---
;--- (1) Builds HTML for all "*.IT" files in current directory
;--- (2) Copies images into the same directory the html was generated into
;-----------------------------------------------------------------------

/HTML                      ;;HTML mode
/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
*.IT                       ;;Only build files matching this mask

/COPY                      ;;Copy some files
/Output:OUT\*.*            ;;Where to copy and how
*.gif                      ;;A source mask
*.jpg                      ;;A source mask

To use the "all.ppw" file shown above you could say:

ppwizard @all

As shown above all "*.it" files will be processed if we wished to process a single file but still make use of the project file for the options then you would need to make use of the /DropFiles switch.

As documented for "/list" nothing stops one list or project file from loading others.


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

[Top][Contents][Search][Prev]: LONG COMMAND LINES / CONFIGURATION FILES[Next]: Switches


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