티스토리 뷰
Delphi
procedure GetDir(Drive: Byte; var S: String);
Properties
|
Type |
Visibility |
Source |
Unit |
Parent |
|
procedure |
public |
System.pas |
Description
Returns the current directory.
Note: GetDir sets the S parameter to the current directory on the drive specified
by the D parameter.
D can be set to any of the following values:
현재 디렉토리를 반환합니다.
참고: GetDir은 S 매개 변수를 D 매개 변수로 지정된 드라이브의 현재 디렉터리로 설정합니다.
D는 다음 값 중 하나로 설정할 수 있습니다.
|
Value |
Drive |
|
0 |
Default |
|
1 |
A |
|
2 |
B |
|
3 |
C |
Note: GetDir performs no error checking.
For example, if the invalid value 5 (J)
was specified, S would return J:\ as if it was the root directory of the
invalid drive.
참고: GetDir은 오류 검사를 수행하지 않습니다.
예를 들어, 유효하지 않은 값 5 (J)가 지정된 경우 S는 잘못된 드라이브의 루트 디렉토리인 것처럼 J:\를 반환합니다.
|
perform 미국식 [pər|fɔ:rm] 1. (일・과제・의무 등을) 행하다 |
출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.GetDir
'프로그래밍 언어 > Delphi' 카테고리의 다른 글
| [Reference] System.Pi (0) | 2017.02.15 |
|---|---|
| [Reference] System.SysUtils.StrComp (0) | 2017.02.13 |
| [Reference] Vcl.FileCtrl.SelectDirectory (0) | 2017.02.11 |
| [Reference] System.Str (0) | 2017.02.10 |
| [Reference] System.Delete (0) | 2017.02.09 |
- Total
- Today
- Yesterday
- 왕초보 영어회화 100일의 기적
- 문법
- Pte
- System
- 말하기
- 영어
- 정렬
- Reference
- 일기
- 상황
- tdataset
- 작문
- SWT
- 대상
- 계산기
- 교육센터
- RA
- Delphi
- 여행영어 100일의 기적
- 응용
- java
- VCL
- 설명
- 자료구조
- ADODB
- SysUtils
- 알고리즘
- 스택
- 독해
- wfd
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |