New-Directory

The command creates the specified directory or directory structure. With this command, directory structures can be created at any depth; there is no restriction to only one directory level as was previously the case with the shell command "mkdir". If the specified directory already exists, no error message is displayed during the execution of the package.


Settings:

  • Path
    The directory structure to be created. Use the "..." button to select an existing directory (on the packaging system) or enter the path to be created manually.
  • Use 32-Bit mode on x64 computer
    If the script is executed on a 64-bit operating system, the counterpart for 32-bit applications SysWOW64 can be used automatically when referring to the SYSTEM32 directory.


Example:

In this example, the path NWC Services\MyData is created below the directory stored in the environment variable %APPDATA%.


Corresponds to DSM eScript command:

  • MakeDir


See also: