Link to home
Start Free TrialLog in
Avatar of calbackup
calbackup

asked on

Batch File - Rename file to todays date . extenstion

Hello Experts,

I want to rename a file to todays date.

This is what I have that doesnt work:

IF EXIST C:\file.bck REN
C:\file.bck [date].bck

Is there a way to do this within a batch file?
ASKER CERTIFIED SOLUTION
Avatar of MidnightOne
MidnightOne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial