Quote Originally Posted by pareshg
I think u r looking for this kinda script.......

@ECHO OFF
FOR /F "TOKENS=2-5 DELIMS=/ " %%F IN ('DATE /T') DO (
SET MM=%%F
SET DD=%%G
SET YYYY=%%H
)
SET CURDATE=%MM%%DD%%YYYY%
d:\oracle\ora817\bin\exp user/pwd@service file=d:\backup\dumps\exp_data_%CURDATE%.dmp log=d:\backup\dumps\exp_data_%CURDATE%.log
pause

Pareshg, I hope this is what i am looking for and to make myself clear:

can i create the batch file with the above script to get the required file name with sysdate.