2

How do you rename a file to include the datetime using the windows command line?

swilliams
  • 48,060
  • 27
  • 100
  • 130
user32565
  • 43
  • 1
  • 4

2 Answers2

5

Here is a similar question:

How to get current datetime on Windows command line, in a suitable format for using in a filename?

Hope this helps.

Community
  • 1
  • 1
BoltBait
  • 11,361
  • 9
  • 58
  • 87
4

Check out StampMe.cmd at http://www.ss64.com/nt/syntax.html.

m0j0
  • 3,484
  • 5
  • 28
  • 33