Hi,
I am using the following shell script command to rename backkup files.
It works perfectly on one server in a command file for a different backup. When I run the same command on another server I get an error.
does anyone know why I am getting this error?
Many thanks in advance!
Regards, Paul
I am using the following shell script command to rename backkup files.
Code:
FOR /F "tokens=2-4 delims=/ " %%A IN ('Date /T') DO REN finance_pnl_analysis.mdc %%C-%%A-%%B-finance_pnl_analysis.mdc
It works perfectly on one server in a command file for a different backup. When I run the same command on another server I get an error.
Code:
%%A was unexpected at this time.
does anyone know why I am getting this error?
Many thanks in advance!
Regards, Paul