|
Welcome to the Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content etc. By registering you have access to many other special features, Like personal blogs, your own personal forum, extended profiles, posting of your resume, free links, photo galleries, auctions etc. We are Web 2.0 Compliant . We also reward our posters and referals with free hosting, domains, prizes etc. Even earn points for reading posts. We offer contests, and events that are sure to please anyone in the hosting industry, web developer or SEO at heart. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|
|||||||
| Windows XP All the flavors of windows xp listed here |
|
|
LinkBack | Thread Tools |
|
|||
|
Mass renaming
Is there a method of renaming all the files in a folder systematically? I
have a folder full of files that begin with numbers. I want to add a 0 to the beginning of each filename (i.e. 1.xls will become 01.xls). I have tried putting the command 'rename *.* 0*.*' into command, but that replaced the first letter of each filename with a 0, rather than adding a 0. This there an easy way to do this? Thanks. |
|
|||
|
Re: Mass renaming
On 7/5/2007 3:08 PM On a whim, Kieron Capehorn pounded out on the keyboard
> Is there a method of renaming all the files in a folder systematically? I > have a folder full of files that begin with numbers. I want to add a 0 to > the beginning of each filename (i.e. 1.xls will become 01.xls). I have > tried putting the command 'rename *.* 0*.*' into command, but that replaced > the first letter of each filename with a 0, rather than adding a 0. > > This there an easy way to do this? > > Thanks. > > Hi Kieron, Try this free utility: http://3d2f.com/programs/60-253-file...download.shtml -- Terry R. ***Reply Note*** Anti-spam measures are included in my email address. Delete NOSPAM from the email address after clicking Reply. |
|
|||
|
Re: Mass renaming
On Thu, 05 Jul 2007 22:08:20 GMT, "Kieron Capehorn"
<kcapehornR.E,M-O'V`E@blueyonder.co.uk> wrote: >Is there a method of renaming all the files in a folder systematically? I >have a folder full of files that begin with numbers. I want to add a 0 to >the beginning of each filename (i.e. 1.xls will become 01.xls). I have >tried putting the command 'rename *.* 0*.*' into command, but that replaced >the first letter of each filename with a 0, rather than adding a 0. > >This there an easy way to do this? Yes, there's an extremely easy way do this; using, of all things, a free image viewer program called Irfanview. It takes a bit of experimenting to get used to it, but that's true of any program. Once you have Irfanview (http://irfanview.com)open, go to File / Batch Rename. Use the help files to help you get started. BACKUP YOUR ORIGINAL FILES first. In getting used to using this program, I have overwritten many file names with the wrong stuff. enough now, that I don't make that mistake any longer. ::knock on wood:: -- Zilbandy |
|
|||
|
Re: Mass renaming
"Kieron Capehorn" <kcapehornR.E,M-O'V`E@blueyonder.co.uk> wrote in message news:oZdji.129112$hj5.91785@fe2.news.blueyonder.co .uk... > Is there a method of renaming all the files in a folder systematically? I > have a folder full of files that begin with numbers. I want to add a 0 to > the beginning of each filename (i.e. 1.xls will become 01.xls). I have > tried putting the command 'rename *.* 0*.*' into command, but that replaced > the first letter of each filename with a 0, rather than adding a 0. > > This there an easy way to do this? > > Thanks. > Kieron: Good timing: my neice asked me last week. I sent this to her / other family on Saturday: if you find it useful, feel free to send it along to others. I use it a lot after trips. " When returning from a party, trip , rather than importing your camera files to your PC and having them being named DSC0007 , DSC0008 etc, how about calling them WDW2006, WDW2006-1 , ... something that TELLS you what they are so you can tell at a glance next time AND without doing all of the typing. To keep them organized and avoid typing cramp, Windows has an easy way for the renaming these files as long as they are all the same type of file ( JPG or AVI etc ) [NOTE *** If you have a lot of files that are NOT in order this isn't that helpful to you. You want to be sure that they are now listed in order when you open the folder since this will rename everything between the first and last file you pick. And be sure they are the same type ( all end in " .jpg " or all end in " . avi " etc). If mingled types, click on the " File Type" column to sort by type first and then pick the first/last of each type ] Here we go - to rename multiple files : First you'd have to browse to know how you'd like to group / rename them ( that DSC0022.jpg thru DSC0197.jpg are really your WDW2006 trip for instance ), then: 1. Open Windows Explorer and navigate to the folder/files you wish to rename 2. Select the last file you wish to be renamed - left click on it (DSC0197.jpg in my example ) 3. Hold down the shift key and left click on the first file you wish to be renamed (DSC0022.jpg) Those files will now be highlighted 4. Press F2 The first file's name will be highlighted in blue and the others greyed out. Note what comes after the period in the name - is it .jpg or .bmp or ..avi etc ? 5. Type in the new name you wish to use for the files WDW2006.jpg YES retype the " .jpg " ( or whatever it was) or you'll change the type of file 6. Press Enter. All the files will now be renamed and apart from the first one will have a number in parenthesis following it. like WDW2006 (122).jpg Next time you'll easily see that all of those files are related to WDW trip, rather than some useless name that you have to open to check. " Bobb |
|
|||
|
Re: Mass renaming
Kieron Capehorn wrote:
> > Is there a method of renaming all the files in a folder systematically? I > have a folder full of files that begin with numbers. I want to add a 0 to > the beginning of each filename (i.e. 1.xls will become 01.xls). I have > tried putting the command 'rename *.* 0*.*' into command, but that replaced > the first letter of each filename with a 0, rather than adding a 0. Bulk renaming of files: http://www.bootdisk.com/utility.htm BULK FILE RENAMERS |
|
|||
|
Re: Mass renaming
|
|
|||
|
Re: Mass renaming
here's a small command-line java program i wrote that you can just
download and run (no need to "install"): http://renamewand.sourceforge.net/ Suppose the files are called "xxx.xls" and you want to rename them to "0xxx.xls", i.e. padding the number xxx to 4 digits. just execute: RenameWand.bat "<@a>.xls" "<4|a>.xls" hope that helps |
|
|||
|
Re: Mass renaming
[Kieron Capehorn] wrote-:
> Is there a method of renaming all the files in a folder systematically? I > have a folder full of files that begin with numbers. I want to add a 0 to > the beginning of each filename (i.e. 1.xls will become 01.xls). I have > tried putting the command 'rename *.* 0*.*' into command, but that replaced > the first letter of each filename with a 0, rather than adding a 0. > > This there an easy way to do this? > > Thanks. > > Open Command Prompt and run: CD "FOLDER PATH" for /f %f in ('dir /b') do @ren "%f" "0%f" Good Luck, Ayush. -- XP-Tips [Schedule a weekly defragmentation] : http://www.microsoft.com/windowsxp/u...ps/defrag.mspx |
|
|||
|
Re: Mass renaming
[Kieron Capehorn] wrote-:
> Is there a method of renaming all the files in a folder systematically? I > have a folder full of files that begin with numbers. I want to add a 0 to > the beginning of each filename (i.e. 1.xls will become 01.xls). I have > tried putting the command 'rename *.* 0*.*' into command, but that replaced > the first letter of each filename with a 0, rather than adding a 0. > This there an easy way to do this? > Thanks. Open Command Prompt and run: CD "FOLDER PATH" for /f %f in ('dir /b /a-d') do @ren "%f" "0%f" Good Luck, Ayush. -- XP-Tips [Speed up menu display] : http://www.microsoft.com/windowsxp/u...tips/menu.mspx |
| Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
| Thread Tools | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mac Mass Mailer 1.1 (Default branch) | admin | Open Source | 0 | 02-16-2007 11:07 AM |
| [2.6.19] Problems with USB mass storage devices | Christoph Bier | Misc Topics | 1 | 01-09-2007 10:38 AM |
| mass renaming | ray | Misc Topics | 5 | 01-08-2007 09:03 PM |
| HP 2210 Printer Scanner problems in 10.2 | christine | Suse | 24 | 01-05-2007 01:24 AM |
All times are GMT -5. The time now is 11:22 AM.