Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I need a script bat file that will change the file extension to the system date. I have DB backup files that end in 'bak' but I need to collect them daily. But they will over ride daily as the file created is always the same name, (abc.bak) . this way I can change the new backup file everyday and not over ride the new one.
thanks

You need to post the content of %date%.
One size doesn't fit all.
=====================================
Helping others achieve escape felicityM2

Ok, I'm not a big script user much less write them. I have change things a bit. as long as I can just add the date to the file name then I'm ok. So all I need will be; M/D/Y that will be enough. And that would come from system date, so it will change daily. I will not need the extension changed.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |