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

Switch /0OK[:YesOrNo[,YesOrNo][,YesOrNo]]

This is a PPWIZARD command line switch.

This can set the state of 3 separate situations where PPWIZARD has to decide whether it is OK to have 0 files as follows (the default is "NO" for all):

  1. Is it OK for any of the input filemasks you specify to return zero files? This option affects masks specified after this switch.

  2. After all input masks are processed, is it OK for no files to have matched.

  3. Assuming some files matched the input masks is it OK if you then exclude all of them (see /exclude)?

If you don't supply any parameter at all then all options are set to "YES", otherwise blank or missing options remain at their current value.

Examples

You wish to say its OK for all situations to result in 0 files:

ppwizard  /0OK *.it  /output:out\*.htm

You wish to say its OK for 0 files to result after all masks but think its and error of no files to be processed due to exclusions

ppwizard  /0OK:YES,YES,NO *.it /exclude:a*.it /output:out\*.htm

You wish to say its OK for 0 files to result after exclusions are applied ("stupid" simplistic example):

ppwizard  /0OK:,,YES *.it /exclude:*.it /output:out\*.htm


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

[Top][Contents][Search][Prev]: /XSlash[Next]: /**/


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm