본문 바로가기

DevHyun

검색하기
DevHyun
프로필사진 D3V3L0P3R

  • 분류 전체보기 (61)
    • C# (7)
    • Delphi (16)
    • Web (23)
      • Django&Python Blog Projecct (15)
      • Django&Python 개발환경 셋팅 (8)
    • Tip (2)
    • App (0)
      • WebView (0)
    • Algorithm (4)
      • baekjoon online judge (4)
    • SQL (9)
      • HACKERRANK (7)
      • Query (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바