MgErr FRemove(path);
Deletes a file or a directory. If an error occurs, this function does not remove the file or directory.
| Name | Type | Description |
|---|---|---|
| path | Path | Path of the file or directory you want to delete. |
MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.
| Value | Corresponding Error Code or Description |
|---|---|
| noErr | No error. |
| mgArgErr | 1 |
| fIsOpen | 5 or directory is not empty. |
| fIOErr | 6 |
| fNotFound | 7 |
| fNoPerm | 8 |