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