Computing.Net > Forums > Windows XP > dupe filename format (0).jpg ?

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.

dupe filename format (0).jpg ?

Reply to Message Icon

Name: trdj
Date: November 2, 2006 at 14:19:55 Pacific
OS: XP
CPU/Ram: Lots
Product: yomamma
Comment:

looking for a registry hack or gp tweak to change XP's format for duplicate filenames. If you copy and paste the same file you get:

filename.ext
filename (0).ext
filename (1).ext ... etc.

What I am looking to do is figure out a way so that the dupelicate filename format is say:

filename_0.ext
filename_1.ext
filename_2.ext .... etc.

Anyone have any ideas? I know there are excellent file renaming programs out there, but my interest is really do do this both natively and permanently within xp whenever there is a duplicate filename and without the use of an additional app.

XPuser, Sabertooth, anyone?

I have googled quite extensively on this and would very much appreciate any potential direction/answers on this.

Thanks!

Michael

Live, Love & Google!



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: November 2, 2006 at 16:17:00 Pacific
Reply:

I would suspect that the format for renaming multiple files is within the source code. Even IF you knew which OS file controled that behavior and IF you could decompile it, make the changes, and recompile it; you would probably have issues with Windows System File Checker.

Windows does not, and should not, do evrything. If it was to allow people to change the renaming behavior then the functionality would have to increase in order to verify that the format would not create invalid formats. By increasing functionality you also increase complexity and the possibilities for bugs.

Good luck on finding a solution, but I think (IMHO) your best bet is to find a good 3rd paty utility.

Michael J


0

Response Number 2
Name: trdj
Date: November 2, 2006 at 17:30:40 Pacific
Reply:

well I am not sure where the behavior is sourced from (i.e. registry, gpedit, dll, etc.) which is the reason for this post.

The end result is to, again NATIVELY within windows, mass rename a bunch of files to a more friendlier name (i.e. without spaces and parenthesis), but it sounds like scripting a bat file may be the only way to do that. I am completely comfortable with installing and using 3rd party apps, but the process here is to develope a convention that will work on ANY windows XP natively without any special program installs.

Any additional help would be appreciated.

Live, Love & Google!


0

Response Number 3
Name: Sabertooth
Date: November 2, 2006 at 19:07:16 Pacific
Reply:

I'm not sure you can do that natively with XP, you may be able to with the aid of a script, but I am not aware of one at the moment and maybe someone that does will come along and hopefully suggest one.


0

Response Number 4
Name: Michael J (by mjdamato)
Date: November 2, 2006 at 21:10:52 Pacific
Reply:

Yes, I understood what your intent was. I'm just pointing out the fact that some things are simply not configurable.

Again, I wish you good luck with your search. I just believe it is a red herring. I did do some searching of my own before making that first response - it wasn't just done out of a knee jerk reaction.

Michael J


0

Response Number 5
Name: Ronnie Ratt
Date: November 2, 2006 at 21:33:27 Pacific
Reply:

My guess it's in Shell32.dll [first place to look for, for these things] and I strongly suspect the string resource 262 as it has a line that says 4178,"Copy [] of".

String resource 263 contains the line 4193, Copy of %s which would indicate the first copy.

A Resource Editor [plenty available nowadays such as Exescope and ResHacker] can change these things but not for the faint-hearted and system files cannot be directly changed while in use. Even a Hex Editor could do this as well but trickier.

I've used Resource Editors for changing dialog boxes, string text, menus, icons, images and lots of stuff in Shell32, Explore.exe, most of the browser files and many other files for years without a problem but ...I'm not faint-hearted.


0

Related Posts

See More



Response Number 6
Name: Sabertooth
Date: November 3, 2006 at 11:09:27 Pacific
Reply:

trdj,

There you have it, you should give Ronnie's tip a whirl - you never know. The String resource 263 reference could very well unlock the solution to your predicament. Just make sure you have whatever file you are modifying backed up first before using ResHack.

Goodluck!


0

Response Number 7
Name: trdj
Date: November 5, 2006 at 20:35:33 Pacific
Reply:

thanks everyone for the input.

Thanks too Michael.. I know you were trying to help and I hope I didn't offend (wasn't my intent).

I'll probably look at some bat scripting with some search and replace steps... or if I become not so faint of heart (and out of options) I might take a look at hacking that Shell32.dll ;)

Michael

Live, Love & Google!


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: dupe filename format (0).jpg ?

convert .qcd (Quark) to .jpg www.computing.net/answers/windows-xp/convert-qcd-quark-to-jpg/13562.html

get XP to recognize Drive #0 as C www.computing.net/answers/windows-xp/get-xp-to-recognize-drive-0-as-c/169216.html

Video File Format www.computing.net/answers/windows-xp/video-file-format/169779.html