Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: Anonymous

Two methods come to mind for the task of creating a new folder (directory).

Dim oDesiredFolder As String = "C:\Temp\MyNewSubFolder\"
If Not System.IO.Directory.Exists(oDesiredFolder) Then
    System.IO.Directory.CreateDirectory(oDesiredFolder)
End If

and

Dim oDesiredFolder As String = "C:\Temp\MyNewSubFolder\"
If Not FileIO.FileSystem.DirectoryExists(oDesiredFolder) Then
	FileIO.FileSystem.CreateDirectory(oDesiredFolder)
End If

I'm not sure exactly what you mean by 'move my project into it', though.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)