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
- listener 1883
- 공인IP
- map이 undefined가 뜰 때
- DataGridView 직접 입력
- pm2 확인
- mosquitto
- mySQL_Replication
- datagridview 직접입력
- DatePicker
- setInterval 외부 정지
- pm2 설치
- 1883
- c# datagridview 데이터 넣기
- Replication
- setInterval 중지
- transfer
- invalid data
- AntDesign
- pm2
- timepicker
- setInterval 정지
- pm2 상태 확인
- 맥 어드레스
- html #select #option #multiple
- mosquitto.conf
- allow_anonymouse
- setInterval clear
- pm2 시작
- 데이터테이블 데이터 넣기
- 서버동기화
Archives
- Today
- Total
개발 노트
C# 폴더열기 본문
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FolderOpen
{
class Program
{
static void Main(string[] args)
{
//사용자가 열고자 하는 폴더 경로 지정
string localFolderPath = @"D:\";
//D드라이브 폴더 실행
System.Diagnostics.Process.Start(localFolderPath);
}
}
}
//내 폴더 위치 불러오기
System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
//폴더 있는지 확인하고 생성하기
if(!Directory.Exists("path"))
{
System.IO.Directory.CreateDirectory("path");
}
//폴더 열기
System.Diagnostics.Process.Start("FolderPath")
참고링크
'프로그래밍 > C#' 카테고리의 다른 글
mosquitto conf (0) | 2022.03.07 |
---|---|
폼닫을시 설정 저장하고 재실행하면 저장된값 가져오기 (0) | 2022.03.04 |
데이터그리드뷰 특정값 열 색상채우기 (0) | 2022.03.04 |
C# 데이터그리드뷰 focus 맞추기 (0) | 2022.03.04 |
C# Delegate (0) | 2022.03.04 |