The DELETE command deletes the named file, assuming the user has permission to do so. The ONERROR statement is invoked if the delete fails. A NOERROR clause may be used instead to suppress any errors.
DEL[ETE] file_name [ONERROR statement] file_name - a string expression for the filename to delete
Example:
The following example converts a TIFF file to a PCIDSK file and then deletes the TIFF file using the DELETE command.
fili="irvine.tif" filo="irvine.pix" run fimport delete fili noerror
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.