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
@echo off
pushd test
for %%i in (*.csv) do ren %%i 0416_%%~ni_1.tmp
ren *.tmp *.csv
popd
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |