Skip to content

FileDeleteEx

Homes32 edited this page May 14, 2022 · 2 revisions

FileDeleteEx

Delete a file if it exists.

If the DirDelete commands fails, for example if a file is open in another application or Explorer then give the user a meaningful error message and a chance to correct the problem.

Syntax

DirDeleteEx,<File>

Arguments

Argument Description
File The full path to the file to delete.

Return Codes

None.

Remarks

If the command fails the build will halt.

Related

DirDeleteEx

Examples

Example 1


FileDeleteEx,"C:\Temp\someFile.ini"