Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文件目录,我需要检查最后修改日期并将结果放入文件中。我需要这是一个批处理文件,并且我需要输出文件易于阅读
forfiles /p [path to file] /c "cmd.exe /c echo @file : @fdate"
在 stackoverflow 上已经有很多类似的问题,所以下次看看这些并尝试解释它们。
希望这有帮助,
你的莫娜。
目录 "c:/myfolder/" /S /O:d > "c:/myfolder/dos_output.txt"