Technical ReferenceMacroFlex ScriptingFileSystem Object CreateDirectory CreateDirectory Copies a directory. Syntax FileSystem.CreateDirectory(Directory) Parameters Directory String, input Name and location of the directory. Example Sub Main() FileSystem.CreateDirectory "C:\Users\Public\NewDirectory" End Sub