|   |   | Object Model Reference : Classes : C : CorelScriptTools : Methods : 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 VBA example creates the folder work as a subfolder of the current folder.
| MKFOLDER "work" | 
The following VBA example creates the folder work as a subfolder of the current folder and assigns -1 to success.
| success = MKFOLDER ("work") | 
|   |   |   | 
Copyright 2013 Corel Corporation. All rights reserved.