Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 백준
- 델파이
- GIT
- templates
- blog
- anaconda3
- Django
- github
- c#
- Delphi
- get_object_or_404
- delphi 10.3
- advColumnGrid
- pythonanywhere
- declare
- dbadvgrid
- hackerrank
- PyCharm
- Push
- FastReport
- HTML
- TMS
- python3
- Visual Studio
- pyhcarm
- MSSQL
- queryset
- python 3.7
- COMMIT
- rank
Archives
- Today
- Total
목록DirectoryInfo (1)
DevHyun
디렉토리 생성
// filePath 변수생성 및 초기값 지정 const string filePath = @"C:\"; // filePath에 만들고자 하는 파일이 없을때 if (File.Exists(filePath) == false) { try { // 디렉토리 부터 생성 DirectoryInfo di = new DirectoryInfo(DirPath); if (di.Exists == false) { try { di.Create(); } catch { MessageBox.Show("디렉토리 생성 실패"); } } } catch { //MessageBox.Show(""); }
C#
2023. 11. 9. 10:46