Tom's HardwareTom's IT Pro
i m having folder test. inside file called 20130204.csv and i want to rename it like 0416_20130204_1.csv. 0416 and _1 are static.Thanks
Thanks
@echo offpushd testfor %%i in (*.csv) do ren %%i 0416_%%~ni_1.tmpren *.tmp *.csvpopd