Script to change file extension

March 26, 2010 at 07:43:55
Specs: Windows XP
Hi,

Would like to know how to change the ext. from ".pba" to ".pbx" with multiple files


See More: Script to change file extension

Report •

#1
March 26, 2010 at 10:15:31
Very simple, example:


D:\Temp>dir
Volume in drive D is Program and Data
Volume Serial Number is C8BE-1EC5

Directory of D:\Temp

26/03/2010 16:42 <DIR> .
26/03/2010 16:42 <DIR> ..
26/03/2010 16:42 66 group.txt
26/03/2010 16:30 3 group1.txt
26/03/2010 16:34 3 group2.txt
26/03/2010 16:34 3 group3.txt
26/03/2010 18:15 52 test.cmd
26/03/2010 18:08 170 test.txt
6 File(s) 297 bytes
2 Dir(s) 21.302.865.920 bytes free

D:\Temp>rename *.txt *.hlp

D:\Temp>dir
Volume in drive D is Program and Data
Volume Serial Number is C8BE-1EC5

Directory of D:\Temp

26/03/2010 18:15 <DIR> .
26/03/2010 18:15 <DIR> ..
26/03/2010 16:42 66 group.hlp
26/03/2010 16:30 3 group1.hlp
26/03/2010 16:34 3 group2.hlp
26/03/2010 16:34 3 group3.hlp
26/03/2010 18:15 52 test.cmd
26/03/2010 18:08 170 test.hlp
6 File(s) 297 bytes
2 Dir(s) 21.302.849.536 bytes free

D:\Temp>


Report •

#2
March 26, 2010 at 10:18:52
Thanks so much I'll go and try it now.

Report •
Related Solutions


Ask Question