![]() | ![]() | ![]() | ![]() | ![]() |
Switch /Output:GenerateMask |
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.
The generate mask parameter controls how the "InputFile" parameter is transformed to generate the correct name (with or without path) for the generated output file.
Any directory component will be created if required.
The default mask is "*.htm". I place all my output into a separate "OUT" directory and use "/Output:OUT\*.htm" instead.
This switch can be used any number of times and will affect all input masks that follow. For backwards compatability, if an input mask is found before this switch then the very last instance of this switch is used for these.
Be very careful about the mask you use, all characters including spaces are significant and the value should not be a directory name. If this value is wrong you might end up with a message similar to "Write to "out\" failed" (I have seen rexx/PPWIZARD hang in some cases, press CTRL+C to cancel).
Generate ".html" in OUT directory #1 |
You wish output created in the "OUT" directory (relative to current directory):
ppwizard *.it /Output:OUT\*.html
Generate ".html" in OUT directory #2 |
You wish output created in the "OUT" directory (relative to input file):
ppwizard *.it /Output:{$PATH}OUT\*.html
Separate Source and Destination Trees |
ppwizard +c:\src\*.it /output:c:\tmp\out\{$path}*.htm
The file "c:\src\1.it" would create "c:\tmp\out\1.htm" and "c:\src\subdir1\subdir2\1.it" would create "c:\tmp\out\subdir1\subdir2\1.htm".
You might also wish to check out the /BaseDir switch although it is not really required unless you wish to process a subtree of a larger tree which you normally process.
![]() | ![]() | ![]() | ![]() | ![]() |