본문 바로가기

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
  • anaconda3
  • queryset
  • pyhcarm
  • advColumnGrid
  • Visual Studio
  • 델파이
  • get_object_or_404
  • Delphi
  • MSSQL
  • declare
  • python 3.7
  • TMS
  • python3
  • COMMIT
  • blog
  • c#
  • templates
  • Django
  • Push
  • dbadvgrid
  • GIT
  • HTML
  • delphi 10.3
  • FastReport
  • rank
  • hackerrank
  • pythonanywhere
  • 백준
  • github
  • PyCharm
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록RemoveDirectory (1)

DevHyun

Directory 생성 및 존재유무 확인 및 Directory 생성/삭제

예를들어 C:\TEMP Directory가 있으면 제거, 없으면 생성하는 작업을 한다면? Procecure TForm1.Button1Click(Sender: TObject); begin //if DirectoryExists('확인하고자 하는 경로') then if DirectoryExists('C:\TEMP') then begin //RemoveDirectory('경로'); RemoveDirectory('C:\TEMP'); end else begin //CreateDir('경로'); CreateDir('C:\TEMP'); end; end;

Delphi 2020. 10. 29. 10:10
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바