# Syntax
Files can be deleted using the syntax:
```
local delete files "SPECIFICATION"
```
The specification can contain a directory path. When no directory path is specified, the current working directory is used. The specification must contain a file pattern with the following special characters:
- `*`: sequence of any 0, 1 or more characters.
- `?`: any character.
# Examples
The following example deletes the file `c:\temp\temp.bin` when existing:
```
local delete files "c:\temp\temp.bin"
```
The following example deletes all files with a name starting with `temp` and extension `.bin` in `c:\temp`:
```
local delete files "c:\temp\temp*.bin"
```