Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Directory Control

These routines access, modify, and obtain information about the directory structure.

Directory-Control Routines

Routine Use
_chdir, _wchdir Change current working directory
_chdrive Change current drive
_getcwd, _wgetcwd Get current working directory for default drive
_getdcwd, _wgetdcwd Get current working directory for specified drive
_getdiskfree Populates a _diskfree_t structure with information about a disk drive.
_getdrive Get current (default) drive
_getdrives Returns a bitmask representing the currently available disk drives.
_mkdir, _wmkdir Make new directory
_rmdir, _wrmdir Remove directory
_searchenv, _wsearchenv Search for given file on specified paths

See Also

Run-Time Routines by Category | Run-Time Routines and .NET Framework Equivalents

Show:
© 2015 Microsoft