selena1
Programmer
- Apr 7, 2003
- 69
I have an Oracle database on Windows 2000, and I want to make exports every week. I would like
to automate that job using Windows Sheduled Tasks and batch file.
But, I don't know how to work with date variables in batch files. For example I want that my
export command in batch file looks something like this:
export ..... file=C:\export_dd_mm_yyyy\export_dd_mm_yyyy log=C:\export_dd_mm_yyyy\export_log_dd_mm_yyyy ,
where dd_mm_yyyy is date when export was made (system date).
Also, I want to create directory with name like export_dd_mm_yyyy.
Can anybody help me with this?
p.s. Some example would be great.
Thanks!
to automate that job using Windows Sheduled Tasks and batch file.
But, I don't know how to work with date variables in batch files. For example I want that my
export command in batch file looks something like this:
export ..... file=C:\export_dd_mm_yyyy\export_dd_mm_yyyy log=C:\export_dd_mm_yyyy\export_log_dd_mm_yyyy ,
where dd_mm_yyyy is date when export was made (system date).
Also, I want to create directory with name like export_dd_mm_yyyy.
Can anybody help me with this?
p.s. Some example would be great.
Thanks!