rename a file using cmd by the system date

rename a file using cmd by the system date

 

  

Hi all,



Does any body can help?

I already have a batch file that runs in a schedule & loads the data
file file1.csv, and I need to make rename for the data file after
loading it to the system date

For example:



The data file is file1.csv(which is created daily by a schedule)

& I want to rename it by sysdate.csv --> ddMMyyyy--> 06082007.csv



Sure tomorrow will differ, file.csv will be-->07082007.csv



So I need something like rename but in the formate of ddmmyyyy(sysdate)





Thanks a lot & best regards for all



Rehab :-)








Oracle LazyDBA home page