Folder path
-
[C#] 폴더 경로 / Folder PathMicrosoft .NET/C# 2019. 3. 6. 01:35
폴더 경로 받기 Environment.CurrentDirectory Forms System.Windows.Forms.Application.StartupPath 실행파일폴더 System.AppDomain.CurrentDomain.BaseDirectory 실행된 exe의 경로 System.IO.Path.GetDirectoryName(System.IO.Path.GetDirectoryName(System.AppDomain.CurrentDomain.BaseDirectory)) "../" 상위폴더 Environment.SystemDirectory 시스템폴더 Path.GetFileName(Environment.CurrentDirectory) 현재 폴더의 명