摘要: 在.net开发的windows服务中,如使用System.AppDomain.CurrentDomain.BaseDirectory 获取到的目录不是服务所安装的目录。 使用 System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase获取服务所安装的目录。 阅读全文
posted @ 2013-01-17 12:32 hanwest 阅读(175) 评论(0) 推荐(0) 编辑