Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.56 KB

directory-control.md

File metadata and controls

31 lines (26 loc) · 1.56 KB
descriptiontitlems.datehelpviewer_keywordsms.assetid
Learn more about: Directory Control
Directory Control
11/04/2016
controls [C++], directory
directory control routines
a72dcf6f-f366-4d20-8850-0e19cc53ca18

Directory control

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

Directory-control routines

RoutineUse
_chdir, _wchdirChange current working directory
_chdriveChange current drive
_getcwd, _wgetcwdGet current working directory for default drive
_getdcwd, _wgetdcwdGet current working directory for specified drive
_getdiskfreePopulates a _diskfree_t structure with information about a disk drive.
_getdriveGet current (default) drive
_getdrivesReturns a bitmask representing the currently available disk drives.
_mkdir, _wmkdirMake new directory
_rmdir, _wrmdirRemove directory
_searchenv, _wsearchenv, _searchenv_s, _wsearchenv_sSearch for given file on specified paths

See also

Universal C runtime routines by category
File handling
System calls

close