PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
\ -> PPWIZARD Command Line -> Switches
Command Line: Switches / Options |
All
PPWIZARD command line
switches begin with either the '/' or
'-' character and are executed in the following order:
- If the optional environment variable
"PPWIZARD_OPTIONS" exists then its contents are
processed first.
- If the optional ppwizard
project file
"ppwizard.ppw" exists
then this is processed via the /List switch.
You can override any switches specified in the environment
variable above if you need to.
PPWIZARD first looks in the current directory and then in the
same location as the ppwizard runtime if required.
- Any options specified on the command line.
You can override any switches specified in the environment
variables or
project files
above if you need to.
Normally files or options are separated by spaces, if the file or
option needs to contain spaces then you can surround it by double quotes.
If you use double quotes the quoted value must not contain double
quotes (encode with "{x22}").
The switches you are most likely to use are
(roughy ordered from most used to least):
- How to handle generated files:
- Dependancy related:
- Processing mode switches:
- /Debug
Turn debug on. If you can't understand something, try it!
I have tried very hard to make it understandable.
- Console output also goes to:
- /HideCmd
Allows you to hide PPWIZARD syntax within comments etc.
This makes it easier to edit source within a graphical editor.
- /Option
Specifying how PPWIZARD handles tabs is a
common requirement.
- /Template
Allows you to ask PPWIZARD to handle input files via a template file.
- /Define
Define macros to alter behavior of your builds.
For example you may generate the pages for multiple web sites so
you would like to pass information which says how to build it etc.
- /#Include
Rather than placing common #Include commands in
every file you process you could do so from the command line.
- /Exclude
You may wish to process all files in a directory except "*.BAK" etc.
- /Clone
A simple directory (or tree) copying mode.
There are many switches available in PPWIZARD, you probably won't need
most of them and those listed above are the main ones but at times you will
need others, the complete list is :
- /AddressCmdTrace
- /BaseDir
- /BC
- /Beep
- /BuildTitle
- /CGI
- /Clone
- /Color
- /ColorCfg
- /Console
- /ConsoleFile
- /Copy
- /CopyRight
- /CrLf
- /Debug
- /DebugChars
- /DebugCols
- /DebugTime
- /Define
- /DeleteOnError
- /DeletePrev
- /DependsOn
- /DependsOnComplete
- /DependsOnIgnore1H
- /DependsOnWarnings
- /DropFiles
- /ErrorFile
- /Exclude
- /Exec
- /ExtnInfo
- /FileNames
- /FileSR
- /FilterInput
- /FilterOutput
- /ForceRebuild
- /GetEnv
- /HideCmd
- /Hook
- /Html
- /HtmlGenerator
- /Inc2Cache
- /IncludePath
- /Info
- /Input
- /List
- /Making
- /NoFiles
- /OnERROR
- /OnOK
- /Option
- /Other
- /Output
- /OutHeader
- /Pack
- /PowerShell
- /PpwTrace
- /Reading
- /RedirMethod
- /RegSyntax
- /RepeatsOfInputFileOK
- /Require
- /Rexx
- /Sleep
- /SpellAddWord
- /SpellCheck
- /SpellShowAll
- /Syntax
- /Template
- /Validate
- /WarningsRc
- /XSlash
- /0OK
- /#Include
- /**/
- /@Extn
- /1
PPWIZARD Manual
Saturday May 28 2022 at 2:55pm