Welcome to the PD Commandline Utility!

The PD Commandline Utility is really two programs in one.

1.  Add PDCL5.exe to the Programs to Execute at the end of your PROJECT file and keep a note with each compile on the popup screen.  This note will be added to a file called Version.pdi (or some other name you can enter).  This file will also contain a Version equate that you can use in your application.  The utility can also increment the version number or build number - just follow the prompts on the screen.

2.  PDCL5 is also a command line utility to change elements of the Clarion Environment.  It may be run from an icon, the DOS prompt, the Windows Run dialog, or from a program such as Wise InstallBuilder.  To get a list of command lines and their parameters, run PDCL5 as follows:

	PDCL5 CMD

Examples:

1.  Use Windows short cut and the command line to change the location of your ABC include file directory and when you start Clarion 5.5.  The following command linea, for example, will make c:\Clarion5\libsrc\abc or web the source directory of ABC include files and start Clarion.  Note also that your redirection file should also point to this directory and the include files you want to include should be copied to this directory.

	C:\CLARION5\Bin\pdcl5.exe LIBSRC C:\CLARION5\LIBSRC\ABC   (AB*.INC files only)
	C:\CLARION5\Bin\pdcl5.exe LIBSRC C:\CLARION5\LIBSRC\WEB   (full copy of libsrc INC files)

2.  To add a menu to the environment, close Clarion.  The following will add the utility to your Clarion development environment menu:

C:\CLARION5\bin\pdcl5.exe USERMENU PDCL5 A&ccessories-PD+&Utility c:\Clarion5\bin\pdcl5.exe

Note that this takes the form of USERMENU AppRef Menu Commandline

3.  The following will register a template:

	C:\CLARION5\bin\pdcl5.exe REG c:\Clarion5\template\AnyTemplate.tpl

Enjoy!

Philip Will
ProDomus, Inc.
Pwill@prodomus.com
