Instruction Manual

File Commands Program Maintenance and Directory Commands 315
Publication 1398-PM601A-EN-P October 2000
HOST MODE
File Commands
Program Maintenance and Directory Commands
The following commands work with program and directory information. Commands with an S prefix
work on the system program directory.
DEL program
SDEL program
Deletes both the program executable and program source code. No error will be issued if the program is
empty.
DELS program
SDELS program
Deletes only the source code, if present, for the specified program.
DIRI program
SDIRI program
Returns directory information for the program specified in the format:
name, SSIZE, ESIZE
Name will be an empty string (although the quotes will still be present) if no executable program code
exists. ESIZE and SSIZE refer to the size, in bytes, of the executable and source files, respectively.
FREE [page]
Returns the number of bytes of free program storage on the specified page of NVRAM. If the optional
page is not given it defaults to zero.
Note: System and user programs share space on page 0 so no alternate SFREE command is needed.
DIR [page]
SDIR
Prints an entire directory. This command is normally only useful in a terminal mode. A host should
use the more specific DIRI command.