USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Attempt to delete a file, ignoring errors if it cannot be deleted
Tries to delete the specified file but does not throw an error if the file does not exist or cannot be deleted (e.g. if it is locked). Use this for best-effort cleanup where failure is acceptable.
| Parameter | Description |
|---|---|
| cmd | Path of the file to attempt to delete |
TryDelete "Path of the file to attempt to delete"