摘要: 首先要弄清你对“当前目录”(Current Directory)的定义是什么。 ◆工作目录 你的应用程序工作的目录。 System.IO.Directory类提供了GetCurrentDirectory方法,该方法是对Win32 API的GetCurrentDirectory函数的一个封装。 此外,System.Environment类提供了CurrentDirectory属性,由于该属性内部调用... 阅读全文
posted @ 2009-01-20 12:56 梅林听风 阅读(687) 评论(0) 推荐(0) 编辑