IO::CreateDirectory
- IO::CreateDirectory(newDirectory): bool
-
Creates a new directory and returns
TRUEif action was successful. Parent directories are not created.In server scripts,
IO::functions are available only if server configuration variableNXSL.EnableFileIOFunctionsis enabled (change requires server restart). They are always available in scripts run bynxscript.Table 1. Parameters newDirectory
String
Directory to be created
ReturnTRUEif creation was successful andFALSEif not.IO::CreateDirectory("/tmp/newDir") // Will create new directory with name "newDir" under folder "tmp"