DIGIT-ARC read-only archive · snapshot: July 23, 2026

Files Renaming Problem

14 posts · originally from https://geek.digit.in/community/threads/files-renaming-problem.64015/

CadCrazy
CadCrazy Original post #1
Jul 27, 2007 at 7:58 PM
I have files like this

42 04 101 301
42 04 101 302
42 04 101 303
42 04 101 304
42 04 101 305 .... etc

I want to rename these files like this

42 04 102 301
42 04 102 302
42 04 102 303 .....

or

42 05 103 301
42 05 103 302
42 05 103 303 ......

or .........

How can i use DOS rename command to do this ???????
slugger
slugger #2
Jul 27, 2007 at 8:23 PM
Code:
rename 42 04 10? 30? 42 04 102 30?

wer ? iz d wild card
CadCrazy
Jul 27, 2007 at 8:43 PM
But i want to rename all files at once in single command
slugger
slugger #4
Jul 27, 2007 at 9:46 PM
ok my mistake

Code:
rename 42 04 10? 30?.* 42 04 102 30?.*
wer * stands 4 file ext

btw do u have space betn d nos cause i was unable 2 run d command wit space but ran wen i removed d space
CadCrazy
Jul 28, 2007 at 12:59 AM
not working for me.Space is necessary
Vishal Gupta
Jul 28, 2007 at 1:16 AM
For:

42 04 102 301
42 04 102 302
42 04 102 303 .....

ren "42 04 101 30*" "42 04 102 30*"

For:

42 05 103 301
42 05 103 302
42 05 103 303 ......

ren "42 04 101 30*" "42 05 101 30*"
slugger
slugger #7
Jul 28, 2007 at 8:24 AM
thanx vishal dint kno abt d quotes
IT WORKED!!
CadCrazy
Jul 28, 2007 at 8:36 AM
Ok thank you sir its working. nothing is impossible for vishal.

one more thing what if i have this kind of files in diff folder and i have to rename them at once.

e.g.
in folder 42 04 101

42 04 101 301
42 04 101 302
42 04 101 303 ....

folder 42 04 102

42 04 102 301
42 04 102 302
42 04 102 303 ....

folder 42 04 103

42 04 103 301
42 04 103 302
42 04 103 303

and all these folders are contained in one common folder
then suppose if i want to rename all files at once from 42 04 to 42 05
CadCrazy
Jul 29, 2007 at 11:14 PM
anyone plz help me
satyamy
satyamy #10
Jul 29, 2007 at 11:32 PM
jugnu_009 said:
anyone plz help me
u hav to apply command by vishal everytime on each single folder :)
their is no option for renaming files at once from different folder :(
CadCrazy
CadCrazy #11
Jul 30, 2007 at 4:48 PM
satyamy said:
u hav to apply command by vishal everytime on each single folder :)
their is no option for renaming files at once from different folder :(

r u sure ?????
zyberboy
zyberboy #12
Jul 30, 2007 at 6:18 PM
use any automatic file renamer
casanova
casanova #13
Jul 31, 2007 at 12:03 AM
^^
I guess even it wont do. There might be some renamer that can do but finding it will be hectic.

@jugnu_009
You will have to follow Vishal's procedure for every folder
it_waaznt_me
Jul 31, 2007 at 12:29 AM
There is one utility called Bulk Rename Utility .. Its a great freeware that you can try ..
I use it very often ..