These routines access, modify, and obtain information about the directory structure.
Directory-Control Routines
| Routine | Use | .NET Framework equivalent | 
|---|---|---|
| Change current working directory | ||
| Change current drive | ||
| Get current working directory for default drive | ||
| Get current working directory for specified drive | ||
| Populates a _diskfree_t structure with information about a disk drive. | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
| Get current (default) drive | ||
| Returns a bitmask representing the currently available disk drives. | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
| Make new directory | System::IO::Directory::CreateDirectory, System::IO::DirectoryInfo::CreateSubdirectory | |
| Remove directory | ||
| Search for given file on specified paths | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. |