MgErr FMove(oldPath, newPath);
Moves a file or renames it if the new path indicates the file is to remain in the same directory.
Name | Type | Description |
---|---|---|
oldPath | Path | Path of the file or directory you want to move. |
newPath | Path | Path, including the name of the file or directory, where you want to move the file or directory. |
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 |
mFullErr | 2 |
fIsOpen | 5 |
fIOErr | 6 |
fNotFound | 7 |
fNoPerm | 8 |
fDiskFull | 9 |
fDupPath | 10 |
fTMFOpen | 11 |