The compiler may be run in Interactive mode. The user is prompted to provide all necessary information via a popup dialog box. Before you can do anything useful with the Compiler, you must use the batch file interpreter to create and test a WinBatch script file. The Compiler will not test WinBatch macro scripts. Each WinBatch macro script file should have a file extension of .WBT or .WIL. Running the Compiler:
Notes about the compiler: The compiler allows you to specify version information strings to be embedded in the EXE (under "Version Info"). The compiler also creates a configuration file for each source file you compile. It will be placed in the same directory as the source file, and will have the same base name with an extension of ".CMP". For example, if you compile "C:\UTIL\TEST.WBT", it will create a configuration file named "C:\UTIL\TEST.CMP".
Compile multiple files If you have a number of files that you simply want to recompile with all the previous settings:
You can use the Compiler dialog Launch WBCOMPILER.EXE. Select the 'Multi' button, Choose a directory, then choose the .CMP files, you want to recompile with all the previous settings.
You can execute a command line. Specify a directory name as the first parameter to the compiler. A dialog will appear that prompts you to select from a list of project configuration (.CMP) files in that directory to be compiled in 'batch' mode. Example:
WBCOMPILER.EXE C:\COMPILE
Specify a full path to a properly formatted .CMPFILE as the first parameter to the compiler. Batch Compile Example:
WBCOMPILER.EXE C:\COMPILE\BATCH.CMPLIST
Note: the .CMP files must contain a "Src=" setting in the [Main] section to identify the source file to be compiled, and this setting was not written by earlier versions of the compiler, but can be added manually. The source file must be located in the same directory as the .CMP file.
|
|