Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename a file with a batch script

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

like image 281
user32565 Avatar asked Jan 21 '26 21:01

user32565


1 Answers

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.

like image 151
BoltBait Avatar answered Jan 24 '26 18:01

BoltBait



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!