WinBatch is a script file interpreter. Before you can do anything useful with the WinBatch interpreter, you must have at least one WinBatch script file to interpret. Your WinBatch installation puts several sample scripts into your WinBatch\Sample directory. WinBatch script files must be formatted as plain text files. You can create them with WinBatch Studio (Wilson WindowWare's text editor for programmers), the Windows Notepad or another text editor. Word processors like WordPerfect, AmiPro, and Word can also save scripts in plain text formatted files. The .WBT extension is used throughout these instructions for batch file extensions, but you can use others just as well. If you want to click on a batch file and have Windows run it, be sure that you associate it in Windows with your WinBatch executable program file. When you installed WinBatch, an association is automatically established between WinBatch and .WBT files. Each line in a WinBatch script file contains a statement written in WIL, Wilson WindowWare's Windows Interface Language. A statement can be a maximum of 2048 characters long (refer to the WIL help file for information on the commands you can use in WinBatch). Indentation does not matter. A statement can contain functions, commands, and comments. You can give each WinBatch script file a name which has an extension of WBT (e.g. TEST.WBT). We'll use the terms WinBatch script files and WBT files interchangeably.
|
|