Anonymous
913 Views, 1 Reply
08-18-2021
04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-18-2021
04:18 AM
I am trying use ilogic to create a new folder and move my project in to it. Any ideas will help! Thank you!
Solved! Go to Solution.
08-18-2021
05:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-18-2021
05:45 AM
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
(Not an Autodesk Employee)