Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
rename multiple files
Name: ooOOJaVaOOoo Date: September 27, 2003 at 13:44:36 Pacific OS: Windows XP Pro CPU/Ram: amd athlon xp 2000+ 768D
Comment:
I want to make a .bat file to rename all the mp3's in a folder.. IE: blah.mp3 to 0001.mp3 blah2.mp3 to 0002.mp3 through 6000 but all the mp3's have different names so it'd be like *.mp3 to 0001.mp3 0002.mp3 from that i guess?? im new :(
Name: DTech10 Date: October 1, 2003 at 06:20:54 Pacific
Reply:
Hi
You could try this, it needs both batch files.
========================================== rem 1st Batch File Rem Number.bat @echo off set no=-1 for %%x in (*.mp3) do call ReName.bat %%x set no= =========================================
========================================= rem 2nd Batch File rem ReName.bat @echo off set /a no+=1 if %no% LSS 1000 set FName=0 if %no% LSS 100 set FName=00 if %no% LSS 10 set FName=000 ren %1 %FName%%no%.mp3 ========================================
Summary: Hi I need to rename multiple files with a *.xls extension into file names which have a sequential number. E.g. tony.xls --> 1.xls paul.xls --> 2.xls mary.xls --> 3.xls robert.xls --> 4.xls . . . I fou...
Summary: I want to rename multiple files in dos, file01.00 -> file01.rar file02.00 -> file02.rar...and so on But write an exe program or script in notepade and run it in dos. i remember seeing 'echo' for every...
Summary: I would like help with a dos batch file program that renames multiple filenames of 8 characters long to filenames of 7 characters long without changing the last four characters. e.g 00070011.rrt shou...