DeleteFile
Go Up to Local GetIt Packages Actions Data Index
Deletes a file.
Parameters
- Parameter 1: File path to delete. Macros are allowed.
- Parameter 2: Boolean. Optional. Flag to skip the process if failure when deleting a file:
True
: skip the process if failure when deleting a file.False
: If failure, it shows a dialog with the option to retry the operation.- The default value is
False
.
Examples
- Example 1:
DeleteFile("$(bds)\test.txt");
- Example 2:
DeleteFile("$(bds)\test.txt", True);