日期:2014-05-18 浏览次数:21044 次
if(System.IO.Directory.Exists(path)){
System.IO.Directory.CreateDirectory(path);
}
------解决方案--------------------
创建目录可参考MSDN
http://msdn2.microsoft.com/zh-cn/library/54a0at6s(VS.80).aspx
------解决方案--------------------
第二个问题
//运行的exe所在的目录
string Path.GetDirectoryName(Application.ExecutablePath)