取得執行檔的目錄

string path = Directory.GetCurrentDirectory();

 

or

 

string str = System.AppDomain.CurrentDomain.BaseDirectory;

arrow
arrow
    全站熱搜

    createps 發表在 痞客邦 留言(0) 人氣()