Basic Page To Demonstrate "EXECSYS.H" Header

This example displays the results of operating system commands, in this example the "dir" and "ls" commands are used but the code could be anything from "C" code to VbScript or PERL.

I normally don't recommend ignoring return codes however I do so in the following examples because I will execute commands that may be unavailable on your computer (when you try to compile this sample).

Output of the "dir" command:

     Volume in drive C has no label.
     Volume Serial Number is A48F-6458
     Directory of C:\DBAREIS\Projects\PpwAddOn\ExecSys
    24/03/01  02:43p        <DIR>          .
    24/03/01  02:43p        <DIR>          ..
    24/03/01  02:43p                 8,533 execsys.h
    23/03/01  05:28p                 2,066 nmake.mak
    24/03/01  02:53p        <DIR>          out
    16/03/01  06:33p                 3,995
    24/03/01  02:43p                 3,526 state.rst
    24/03/01  02:43p                 4,672
    23/03/01  05:28p        <DIR>          zips_fw
    24/03/01  02:42p        <DIR>          _$backup
                   5 File(s)         22,792 bytes
                   5 Dir(s)   6,905,933,824 bytes free

Output of the "ls" command:

    'ls' is not recognized as an internal or external command,
    operable program or batch file.

Where can PPWIZARD & It's Headers be found?

In case you got here via a search engine or a link from another site you can download the header file used in this sample page ("EXECSYS.H") and ppwizard itself (my free html preprocessor) from the ppwizard download page at:

PPWIZARD can be thought of as a "Super SSI", it can include external files and do most of the things that server side includes can (and heaps more) but do them in a simpler manner and have no impact or requirements on the server.

PPWIZARD is the most powerful mechanism available for code reuse and automation of common tasks. See the PPWIZARD pages for more details.

Saturday March 24 2001 at 2:53pm