| 发表于:2007-04-09 21:17:29 楼主 |
在.net2005下运行下面的代码报错: console.writeline(directory.getcreationtime( "c:\ ")) '获得目录创建的日期和时间 console.writeline(directory.getlastaccesstime( "c:\ ")) '获得目录最近一次被访问的日期和时间() console.writeline(directory.getlastwritetime( "c:\ ")) '获得目录最近一次被写入的日期和时间() 错误列表: 未声明名称: "directory " 请问如何解决错误.俺是菜鸟.请各位大侠帮俺一把.谢谢. |
|
|
|
|