HOW TO
You can use the system.execute() request to send commands from ArcView to the Operating System.
Code:
System.Execute("c:\winnt\system32\command.com /c mkdir drive:\pathname")
Code:
newDirectory = MsgBox.Input("c:\gis\data", "Create Directory", "")
System.Execute("c:\winnt\system32\command.com /c mkdir"++newDirectory)
Note:
You may need to do a Find to determine where command.com is located on your system.
Note:
For extended pathnames, make sure the directories preceding the one you want to create already exist.
Article ID:000002299
Get help from ArcGIS experts
Download the Esri Support App