Thanks for replyon this this .
When i tried this it opend the csv file and did nothing. when i closed the csv file it just closed and did do anything.
what i am looking is
This is what i did
@echo off & setLocal enableDELAYedeXpansioN
for /f "tokens=* delims= " %%a in ('E:\Extracts_AutoUpload\SALES_ORDERS.CSV') do (
echo !D! >> SALES_ORDERS.csv
my file name i s: SALES_ORDERS.CSV what i wanted is to add the last modified date which is 06042012. and wanted the file to be SALES_ORDERS_06042012.CSV'
Hope u have some suggestions. thanks