FNewDir (LabVIEW Manager Function)
- Mise à jour2025-07-30
- Temps de lecture : 1 minute(s)
MgErr FNewDir(path, permissions);
Purpose
Creates a new directory with the specified permissions. If an error occurs, the function does not create the directory.
Parameters
| Name | Type | Description |
|---|---|---|
| path | Path | Path of the directory you want to create. |
| permissions | int32 | Permissions for the new directory. |
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 |
|---|---|
| noErr | No error. |
| mgArgErr | 1 |
| fIOErr | 6 |
| fNoPerm | 8 |
| fDupPath | 10 |