# Delete File

Note:

The In-Sight vision systemmust be Offline when using the Delete File command.

## Delete File Inputs

Syntax: DF<Filename>

Parameter | Description
--- | ---
Filename | The name of the job A job is a user-configured program in In-Sight EasyBuilder consisting of functions and designed for specific applications. You can create and edit jobs using the In-Sight EasyBuilder interface, and load them on a vision system for deployment in a live environment. file. The command executes with or without the .JOBX extension.

## Delete File Outputs

Status Codes | Description
--- | ---
1 | The command was executed successfully.
0 | Unrecognized command.
-1 | The filename is missing.
-2 | The file could not be deleted, the vision system is Online, a file does not exist with the given name, or the job data is invalid, therefore the command could not be executed.
-6 | User does not have Full Access to execute the command.

## Example: Delete a Job File

To delete the job test1.jobx from the In-Sight vision system, issue the following command: DFtest1.jobx

The In-Sight vision system responds on the following line with the status code of 1, indicating that the job was successfully deleted.