Posted By

jleblanc on 04/16/08


Tagged

date windows batch rename


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

alexxx
dantreacy


rename file with to current date


 / Published in: Windows PowerShell
 

  1. ren test.txt test%date:~4,2%-%date:~7,2%-%date:~10%.txt

Report this snippet  

You need to login to post a comment.