for /F "tokens=2-4 delims=/- " %%A in ('date/T') do set MyVar=%%A%%B%%C
ren exp.dmp exp%MyVar%.dmp
You can execute these two commands after your export is done this will create a memory variable called MyVar and assign it the current date in the format mmddyyyy, now in the ren command you are using this to append it to you base file name
Main Topics
Browse All Topics





by: dona_lakerPosted on 2004-01-17 at 01:39:55ID: 10135461
i am sure its possible. i've done it before but can't remember syntax.