System.Environment.CurrentDirectory;
// 例: c:/test/
Application.ExecutablePath;(包括名称)
// 例: c:/test/myapp.exe
Application.StartupPath;(不包括名称)
// 例: c:/test/
// 例: c:/test/
Application.ExecutablePath;(包括名称)
// 例: c:/test/myapp.exe
Application.StartupPath;(不包括名称)
// 例: c:/test/
转载说明:
作者:飞鱼