How do you rename a file to include the datetime using the windows command line?
如何使用Windows命令行重命名文件以包含日期时间?
2 个解决方案
#1
5
Here is a similar question:
这是一个类似的问题:
How to get current datetime on Windows command line, in a suitable format for using in a filename?
如何在Windows命令行上以适当的格式获取当前日期时间以便在文件名中使用?
Hope this helps.
希望这可以帮助。
#2
4
Check out StampMe.cmd at http://www.ss64.com/nt/syntax.html.
查看StampMe.cmd,网址为http://www.ss64.com/nt/syntax.html。
#1
5
Here is a similar question:
这是一个类似的问题:
How to get current datetime on Windows command line, in a suitable format for using in a filename?
如何在Windows命令行上以适当的格式获取当前日期时间以便在文件名中使用?
Hope this helps.
希望这可以帮助。
#2
4
Check out StampMe.cmd at http://www.ss64.com/nt/syntax.html.
查看StampMe.cmd,网址为http://www.ss64.com/nt/syntax.html。