How to use disk-based commands, Redirecting command input and output, How to use disk-based commands -9 – Gasboy CFN III Manager Manual V3.6 User Manual
Page 37: Redirecting command input and output -9
[P:]* LOAD HEADING;C 1,SMITTY’S STATION,10 MAIN
STREET
↵
Line number?
↵
[P:]*
MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010
Page 3-9
Redirecting Command Input and Output
Site Controller III
The command and the data required for the command, with commas between items are typed,
then Enter is pressed twice.
How to Use Disk-based Commands
Disk-based commands are programs that are stored on a disk. These commands are actually
names of executable disk files. Therefore, if the file is stored on a removable (or floppy) disk,
the disk must be present in the drive for the command to be run.
There are two types of disk-based commands: command files that contain a list of CFN3
commands and have the extension .CMD, and executables that have the extension .BIN. To
execute either of these, a disk containing the corresponding CMD or BIN file must be in the
SC III disk drive, or the file must be present on the hard disk drive.
The SC III will first look for the command in different places in the following order (known as
the search path):
You must type the entire command name, including the path, if the command is not in the
RAM drive, the current directory, or P:BIN. Do not type the extension .BIN or .CMD. If the
SC III cannot find a .BIN or .CMD file corresponding to what you typed, it will reply with the
message unknown command. The site looks for .BIN first, then .CMD.
Redirecting Command Input and Output
Normally commands take their input from the keyboard and send their output to the command
terminal. You can use input and output redirection to cause commands to take their input from
a file and put their output in a file.
You can use input and output redirection together. When you combine the redirection options
with other options on the same command line, if the other options follow the redirection
options, put a comma after the filename.
For example,
PRINT PUMP;>filename,A
may also be written as
PRINT PUMP;A>filename
In any case, a blank space must always separate the command options from the arguments or
data.
Path
Description
R:
RAM drive
.
current directory
P:BIN
the .BIN directory on the hard disk