Search path for commands, How to execute user command files – Gasboy CFN III Manager Manual V3.6 User Manual
Page 200
![background image](https://www.manualsdir.com/files/787488/content/doc200.png)
Making Your Own Commands
Search Path for Commands
Page 19-2 MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010
Search Path for Commands
Before the Site Controller can execute a disk-based command, it must locate it. The Site
Controller looks for disk-based commands in certain directories in a certain order. This order
is called the search path. The Site Controller executes the first command it finds that matches
the command name given.
Standard Search Path for a CFN3 application
(The paths shown above are the default. You can configure a different path with menu page 7
of the SYS_PAR program, as explained in MDE-4773 CFN III Configuration Manual for
Windows XP).
A command file (.CMD extension) with the same name as a regular executable command
(.BIN extension) will not be executed if the .BIN file is in the same place on the search path.
The .BIN file will be executed instead because .BIN files have precedence over .CMD files.
For example, if TREE.BIN and TREE.CMD are in the directory BIN, when you type TREE,
TREE.BIN will be executed.
How to Execute User Command Files
To execute a user command file, type the file’s name without the extension. If the command
file is not in the search path, you must type the pathname of the command.
[P:]* PRDATA
↵
- DATE -
Tue 9/12/99 11:40AM, Trans=57, Seq=624 SCIIIv3.3
- DRAWER -
Dr Sh
Cash in
Paid Out
Balance Safe drop
1
1
830.12
0.00
830.12
0.00 Began Tue 9/10/99 8:00 AM
Prev 1
791.35
0.00
00.00
791.35 Ended Mon 9/09/99 4:00 PM
Prev 2
1239.87
0.00
00.00
1239.87 Ended Tue 9/10/99 12:00 PM
Prev 3
692.44
0.00
00.00
692.44 Ended Tue 9/10/99 8:00 AM
Today
830.12
0.00
830.12
0.00 Began Tue 9/10/99 8:00 AM
Yestdy
2723.66
0.00
00.00
2723.66 Began Mon 9/10/99 8:00 AM
Cumltv
9832.47
0.00
830.12
9002.35
Began Sun 9/01/99 8:00 AM
- TANK -
T# Product
Totals
Reorder
Gauge
Diff % Temp Ullage
1 Regular
30000.000
5000.000
2 Unleaded
30000.000
5000.000
3 Diesel
30000.000
8000.000
4 Premium
30000.000
5000.000
[P:]*
Output of command files is printed on the command terminal unless you redirect it by using
either ENABLE DUMP (see below in this chapter) or the redirection options (> or >>) in the
command file.
Path
Description
R:
the RAM drive
.
current directory
P:BIN
BIN on hard drive