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.
Renaming Multiple Files
Name: Psychedelicle Date: May 31, 2003 at 07:19:32 Pacific OS: XP CPU/Ram: 1.8Ghz
Comment:
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 line that renamed the files, im unclear what the rest was. Please help me out, Thank You.
Name: Secret_Doom Date: June 1, 2003 at 09:33:55 Pacific
Reply:
You can use a batch file (.bat).
The following batch file will rename all files with extention .00 in the current directory (the directory from where you invoke it) to extention .rar. If that's what you want, just cut-paste the following code to a text file, save it with a .bat extention and run it from the directory where the files are located (it would be neat to save the batch file on that directory already).
@echo off for %%F in (*.00) do ren "%%F" "%%~nF.rar"
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 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...
Summary: I have to rename multiple files. original file name: os_work_465.jpg to os_comp_465.rtf os_work_466.jpg to os_comp_466.rtf. and so on. In short I have to replace work by comp and *.jpg or *.pdf exten...