C#文件路徑操做總結

1、獲取當前文件的路徑html 1.   System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName      獲取模塊的完整路徑,包括文件名。 2.   System.Environment.CurrentDirectory      獲取和設置當前目錄(該進程從中啓動的目錄)的徹底限定目錄。 3.   System.IO
相關文章
相關標籤/搜索