API Documentation > CorelDRAW > 2025-v26 > CorelScriptTools > ICorelScriptTools
CorelScriptTools.MkFolder method
Makes Folder
Syntax:
Function MkFolder(ByVal Folder As String) As Boolean
Parameters:
Name Type Description
Folder
String
Remarks:
The MkFolder method creates a new folder.
Examples:
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")