PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: Curley Codes[Next]: /Beep

Switch /BaseDir[:SomeAbsoluteDirectory]

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.

Each input file has an associated "base directory", if your input mask did not specify that subdirectories were being processed then this directory is the directory the file is in otherwise it is the directory of the specified mask (of course these values may be the same for all or some files).

The value supplied on this switch overrides all following default base directories for input filemasks.

The value should have a terminating slash and must begin any filemasks you attempt to use or ppwizard processing will abort.

You can restore normal processing by using "/BaseDir" without a directory. The directory you use must be an absolute directory or the result will not be correct. There are some simple relative paths that PPWIZARD can convert to absolute such as those starting with '..' and '.' followed by a slash.

You would probably never wish or need to override the base directory value unless you normally process a whole tree and now wish to process a subtree as if the whole tree were being processed.

The value can be accessed with the "<?BaseDir>" definition.

Alternative

An alternative way of specifying the base directory is to imbed the "{ENDBASE}" (upper case) string within the filemask after one of the slashes (the string marks the end of the base directory).


[Top][Contents][Search][Prev]: Curley Codes[Next]: /Beep

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Thursday January 17 2002 at 6:27pm