如何在Windows上使用Ruby获取文件创建时间?
File.ctime 应该返回更改时间.
File.ctime
dir /tc 在cmd.exe中返回创建时间与其他一堆东西.
dir /tc
有没有比执行它和解析更好的方法?
ruby windows
ruby ×1
windows ×1