Gasboy CFN III Mgnr's Mnl V3.4 User Manual
Page 10

MDE-4315 CFN Series CFN III Manager’s Manual for Windows NT · August 2004
Page viii
Table of Contents
How to Print a Line with ECHO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
How to Wait with SLEEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
From Command File to Command File . . . . . . . . . . . . . . . . . . . . . . . . . 181
Wait for User Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Command Files Executed from a Console
How to Save Output from a Command File
How to Output to a Receipt Printer
How to Add an Event to the Disk Journal
Variables for Use in Command Files
System Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Command-line-argument Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
User Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
The EXECUTE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
How to Exit from Command Files
How to Use Loops in Command Files . . . . . . . . . . . . . . . . . . . . . . . . . . 194
How to Use Case Statements in Command Files . . . . . . . . . . . . . . . . . 196
Prompt String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
How to Set User Variables in Command Files . . . . . . . . . . . . . . . . . . . . 197
ECHO with the p1 Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
How to Use Branching and Subroutines . . . . . . . . . . . . . . . . . . . . . . . . 200
How to Search for a String in a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
What Conditions Can Be Specified for cron
Timed cron Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Restart cron Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Reboot cron Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Transaction-memory cron Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Where To Put Command Files for cron
How To Keep cron Command Output from the Log . . . . . . . . . . . . . . . . 210