A new directory can be created by sending the mkdir: message to the CfsDirectoryDescriptor class. An existing directory can be removed by sending the rmdir: message to the CfsDirectoryDescriptor class.
CfsDirectoryDescriptor mkdir: 'data'. CfsDirectoryDescriptor rmdir: 'data'.
"The wrong way" "Current working directory might be C:\USELESS" CfsDirectoryDescriptor chdir: 'D:\APPLICATION'. CfsDirectoryDescriptor rmdir: 'C:\USELESS'. "The right way" "Current working directory might be C:\USELESS" "Prevents working dir for drive C: from being USELESS" CfsDirectoryDescriptor chdir: 'C:\'. "If you really want to end up in this dir" CfsDirectoryDescriptor chdir: 'D:\APPLICATION'. CfsDirectoryDescriptor rmdir: 'C:\USELESS'. CfsDirectoryDescriptor chdir: 'C:\'.