MFC/Reference

Directory - 디렉토리 관련 메서드

멜데스 2016. 6. 27. 04:15

Directory 메서드

.NET Framework (current version)
 

네임스페이스:   System.IO
어셈블리:  mscorlib.dll의 mscorlib

이름설명
System_CAPS_pubmethodSystem_CAPS_staticCreateDirectory(String^)

Creates all directories and subdirectories in the specified path unless they already exist.

System_CAPS_pubmethodSystem_CAPS_staticCreateDirectory(String^, DirectorySecurity^)

이미 존재하지 않는 경우 지정된 경로에 모든 디렉터리를 만들고 지정된 Windows 보안을 적용합니다.

System_CAPS_pubmethodSystem_CAPS_staticDelete(String^)

지정된 경로에서 빈 디렉터리를 삭제합니다.

System_CAPS_pubmethodSystem_CAPS_staticDelete(String^, Boolean)

Deletes the specified directory and, if indicated, any subdirectories and files in the directory.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateDirectories(String^)

지정된 경로에 있는 디렉터리 이름의 열거 가능 컬렉션을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateDirectories(String^, String^)

지정된 경로에서 검색 패턴과 일치하는 디렉터리 이름의 열거 가능 컬렉션을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateDirectories(String^, String^, SearchOption)

지정된 경로에서 검색 패턴과 일치하는 디렉터리 이름의 열거 가능 컬렉션을 반환하고 선택적으로 하위 디렉터리를 검색합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateFiles(String^)

지정된 경로에 있는 파일 이름의 열거 가능 컬렉션을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateFiles(String^, String^)

지정된 경로에서 검색 패턴과 일치하는 파일 이름의 열거 가능 컬렉션을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateFiles(String^, String^, SearchOption)

지정된 경로에서 검색 패턴과 일치하는 파일 이름의 열거 가능 컬렉션을 반환하고 선택적으로 하위 디렉터리를 검색합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateFileSystemEntries(String^)

지정된 경로에 있는 파일 이름 및 디렉터리 이름의 열거 가능 컬렉션을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateFileSystemEntries(String^, String^)

지정된 경로에서 검색 패턴과 일치하는 파일 이름 및 디렉터리 이름의 열거 가능 컬렉션을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticEnumerateFileSystemEntries(String^, String^, SearchOption)

지정된 경로에서 검색 패턴과 일치하는 파일 이름 및 디렉터리 이름의 열거 가능 컬렉션을 반환하고 선택적으로 하위 디렉터리를 검색합니다.

System_CAPS_pubmethodSystem_CAPS_staticExists(String^)

지정된 경로가 디스크에 있는 기존 디렉터리를 참조하는지를 확인합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetAccessControl(String^)

Gets a DirectorySecurity object that encapsulates the access control list (ACL) entries for a specified directory.

System_CAPS_pubmethodSystem_CAPS_staticGetAccessControl(String^, AccessControlSections)

지정된 디렉터리의 지정된 ACL(액세스 제어 목록) 항목 형식을 캡슐화하는 DirectorySecurity개체를 가져옵니다.

System_CAPS_pubmethodSystem_CAPS_staticGetCreationTime(String^)

디렉터리를 만든 날짜와 시간을 가져옵니다.

System_CAPS_pubmethodSystem_CAPS_staticGetCreationTimeUtc(String^)

디렉터리를 만든 날짜와 시간을 UTC(Coordinated Universal Time) 형식으로 가져옵니다.

System_CAPS_pubmethodSystem_CAPS_staticGetCurrentDirectory()

Gets the current working directory of the application.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectories(String^)

지정된 디렉터리에 있는 하위 디렉터리의 이름(경로 포함)을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectories(String^, String^)

지정된 디렉터리에서 지정된 검색 패턴과 일치하는 하위 디렉터리 이름(파일 경로 포함)을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectories(String^, String^, SearchOption)

Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectoryRoot(String^)

지정된 경로에 대한 볼륨 정보, 루트 정보 또는 두 정보 모두를 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetFiles(String^)

지정된 디렉터리에 있는 파일의 이름(경로 포함)을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetFiles(String^, String^)

Returns the names of files (including their paths) that match the specified search pattern in the specified directory.

System_CAPS_pubmethodSystem_CAPS_staticGetFiles(String^, String^, SearchOption)

하위 디렉터리를 검색할지를 나타내는 값을 사용하여 지정된 디렉터리에서 지정된 검색 패턴과 일치하는 파일 이름(파일 경로 포함)을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetFileSystemEntries(String^)

지정된 경로에 있는 모든 파일과 하위 디렉터리의 이름을 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetFileSystemEntries(String^, String^)

Returns an array of file names and directory names that that match a search pattern in a specified path.

System_CAPS_pubmethodSystem_CAPS_staticGetFileSystemEntries(String^, String^, SearchOption)

지정된 경로에서 검색 패턴과 일치하는 모든 파일 이름 및 디렉터리 이름의 배열을 가져오고 선택적으로 하위 디렉터리를 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetLastAccessTime(String^)

Returns the date and time the specified file or directory was last accessed.

System_CAPS_pubmethodSystem_CAPS_staticGetLastAccessTimeUtc(String^)

Returns the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last accessed.

System_CAPS_pubmethodSystem_CAPS_staticGetLastWriteTime(String^)

Returns the date and time the specified file or directory was last written to.

System_CAPS_pubmethodSystem_CAPS_staticGetLastWriteTimeUtc(String^)

지정된 파일이나 디렉터리에 마지막으로 쓴 날짜와 시간을 UTC(Coordinated Universal Time) 형식으로 반환합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetLogicalDrives()

해당 컴퓨터에서 "<드라이브 문자>:\"의 형식으로 논리 드라이브 이름을 검색합니다.

System_CAPS_pubmethodSystem_CAPS_staticGetParent(String^)

지정된 경로의 절대 경로와 상대 경로를 모두 포함한 부모 디렉터리를 검색합니다.

System_CAPS_pubmethodSystem_CAPS_staticMove(String^, String^)

파일 또는 디렉터리와 그 내용을 새 위치로 이동합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetAccessControl(String^, DirectorySecurity^)

DirectorySecurity 개체에서 설명하는 ACL(액세스 제어 목록) 항목을 지정된 디렉터리에 적용합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetCreationTime(String^, DateTime)

지정된 파일 또는 디렉터리에 대한 만든 날짜와 시간을 설정합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetCreationTimeUtc(String^, DateTime)

지정된 파일이나 디렉터리를 만든 날짜와 시간을 UTC(Coordinated Universal Time) 형식으로 설정합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetCurrentDirectory(String^)

응용 프로그램의 현재 작업 디렉터리를 지정된 디렉터리로 설정합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetLastAccessTime(String^, DateTime)

지정된 파일 또는 디렉터리를 마지막으로 액세스한 날짜와 시간을 설정합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetLastAccessTimeUtc(String^, DateTime)

지정된 파일 또는 디렉터리에 마지막으로 액세스한 날짜와 시간을 UTC(Coordinated Universal Time) 형식으로 설정합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetLastWriteTime(String^, DateTime)

디렉터리를 마지막으로 쓴 날짜와 시간을 설정합니다.

System_CAPS_pubmethodSystem_CAPS_staticSetLastWriteTimeUtc(String^, DateTime)

Sets the date and time, in Coordinated Universal Time (UTC) format, that a directory was last written to.