Files created by Spatial Analysis tasks with default names listed in Table 5.31 can be deleted by the command.
REMOVE/DETECTION_FILES [flag]If flag is set to NO, then you will not be requested to confirm to delete the file. The default is to confirm.
Table 5.31: Files deleted by the command REMOVE/DETECTION