string ccc = db.OriginalFileName; //对应dwt文件的路径
string ddd = db.Filename; //.bak文件对应的路径
string eee = doc.Name; //当前dwg文件的路径
//当前dll的路径
string path = System.Reflection.Assembly.GetExecutingAssembly().Location.ToString();
原文地址:http://www.cnblogs.com/swtool/p/3832383.html