CreateDirectory method (WinStudio scripts)

Applies to

Document (file) operations

Description

Creates a directory on a file server.

Syntax

CreateDirectory( string fileSpec, string servername, string logicalFolderName, out string errorMessage )

where:

  • fileSpec is the name of a file to be placed into the newly created directory.
  • servername is the file server on which the directory is to be created.
  • logicalFolderName is the name of the logical folder on the file server where the new directory is to be created.
  • errorMessage is the error message to be returned if the directory cannot be created.