I have multiple files . I want to
rename these files at once in command prompt so that these files can became
some easy to use in some applications.
name(1).jpg
name(2).jpg
name(3).jpg
name(4).jpg
name(5).jpg
name(6).jpg
name(7).jpg
name(8).jpg
name(9).jpg
name(10).jpg
name(11).jpg
name(12).jpg
name(13).jpg
name(14).jpg
so i want to rename these files as
1.jpg
2.jpg
3jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg
10.jpg
11.jpg
12.jpg
13.jpg
14.jpg
Plz Plz Plz ........... Somebody help me to do this............
Thanking you....
Umakanta, Bangalore.
create one file as x1.bat
@echo off
set /a counter=00
for %%f in (*.jpg) do call X2.BAT %%f
-------------------------------------
create another file as x2.bat
@echo off
call x3.BAT
ren %1 file%counter%.jpg
-------------------------------------
create another file as x3.bat
@echo off
set /a counter=%counter%+1
--------------------------
put these files in the image or file directory .
then run the x1.bat file
which will rename all the files at time sequentially .
I think it will help you to rename multiple files at a time with in one sec.
Thanx once more.............
If any problem occurs plz reply me .
If i can i ll tell u...........
@echo off
set /a counter=00
for %%f in (*.jpg) do call X2.BAT %%f
-------------------------------------
create another file as x2.bat
@echo off
call x3.BAT
ren %1 file%counter%.jpg
-------------------------------------
create another file as x3.bat
@echo off
set /a counter=%counter%+1
--------------------------
put these files in the image or file directory .
then run the x1.bat file
which will rename all the files at time sequentially .
I think it will help you to rename multiple files at a time with in one sec.
Thanx once more.............
If any problem occurs plz reply me .
If i can i ll tell u...........
Report abuse
Details (required):
Thank you.
Reported content has been submitted
1 person found this reply helpful
·Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.