FRemove (LabVIEW Manager Function)

MgErr FRemove(path);

Purpose

Deletes a file or a directory. If an error occurs, this function does not remove the file or directory.

Parameters

Name Type Description
path Path Path of the file or directory you want to delete.

Return Value

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
noErrNo error.
mgArgErr1
fIsOpen5 or directory is not empty.
fIOErr6
fNotFound7
fNoPerm8