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
- 델파이
- rank
- Push
- PyCharm
- hackerrank
- python 3.7
- 중복제거
- get_object_or_404
- github
- 백준
- MSSQL
- TMS
- Delphi
- delphi 10.3
- HTML
- pythonanywhere
- dbadvgrid
- c#
- templates
- anaconda3
- python3
- Django
- GIT
- COMMIT
- pyhcarm
- queryset
- Visual Studio
- blog
- advColumnGrid
- declare
Archives
- Today
- Total
목록Exists (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