Skip to content

Latest commit

 

History

History
59 lines (56 loc) · 2.2 KB

File metadata and controls

59 lines (56 loc) · 2.2 KB
title Directory Control | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
c.programs
dev_langs
C++
helpviewer_keywords
controls [C++], directory
directory control routines
ms.assetid a72dcf6f-f366-4d20-8850-0e19cc53ca18
caps.latest.revision 11
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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, _searchenv_s, _wsearchenv_s Search for given file on specified paths

See Also

Run-Time Routines by Category
File Handling
System Calls