Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-10 © National Instruments Corporation
Parameter
Input numberofSeconds double-precision Number of seconds to wait.
Return Value
None
DeleteDirint result = DeleteDir (char directoryName[]);
Purpose
Deletes an existing directory.
Parameters
Input directoryName String.
Return Value
result integer Result of operation.
Return Codes
0 Success.
-1 Directory not found.
-3 General I/O error occurred.
-4 Insufficient memory to complete operation.
-6 Access denied, or directory not empty.
-7 Path is a file, not a directory.
DeleteFileint result = DeleteFile (char fileName[]);
Purpose
Deletes an existing file from disk.