MakeDir
- Updated2023-02-21
- 1 minute(s) read
MakeDir
int MakeDir (char directoryName[]);
Purpose
Creates a new directory based on the specified directory name.
![]() |
Note You can create only one directory at a time. |
Example Code
/* Make a new directory named \DATA\WAVEFORM on drive C */
/* assuming that C:\DATA does not exist */
MakeDir ("C:\DATA");
MakeDir ("C:\DATA\WAVEFORM");
Parameters
Input | ||
Name | Type | Description |
directoryName | char [] | The pathname of the new directory. |
Return Value
Name | Type | Description | ||||||||||||||||||
result | int | The result of the call.
|
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later