Previous Document Next Document
CorelScriptTools.MkFolder

Function MkFolder(Folder As String) As Boolean

Member of CorelScriptTools

The MkFolder method creates a new folder.

Parameter
Description
Folder
Specifies the name of the folder to be created. Path information is optional.

The MKFOLDER function returns one of the following values:

  • True (-1) = The folder was created.
  • False (0) = The folder was not created.

The following code example creates the folder work as a subfolder of the current folder:

MKFOLDER "work" 

The following code example creates the folder work as a subfolder of the current folder and assigns -1 to success:

success = MKFOLDER ("work") 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.