PDA

View Full Version : OT: TXT to DDS batch convertor?



Lionheart
December 13th, 2009, 12:22
Hey guys,


Does anyone know of a batch file renamer that will rename file types from TXT to DDS?

I have 2,500 TXT files that are actually DDS files. I need to rename them all.

I am working on installing a game editing software (X3TC) and the package imports the DDS textures as TXT files. (Who knows, maybe that is how the game uses them, special format useage).

This must, of course, only convert 'selected' files, and not the entire system.. (eeks!)

Many thanks for any advice.



Bill

FelixFFDS
December 13th, 2009, 12:40
1. COpy all 2500 txt files to an easy to find folder C:\DDS

2. Open a command window, change directory to c:\DDS

3. Type at the prompt: rename *.txt *.dds

4. type at the prompt: quit

5. go to your folder management system and copy the now dds files back to where you need them.


Oh, sorry, I forgot, you use a Mac. But maybe you can do it in a DOS window?



Luddite Services Company.

SkippyBing
December 13th, 2009, 12:58
If he's running XP on the Mac then he should be able to open a command prompt as it's just a Windows box unless you boot into OSX.

dswo
December 13th, 2009, 13:32
I really like the freeware program "Bulk Renamer Utility"
http://www.bulkrenameutility.co.uk/

Lionheart
December 13th, 2009, 15:07
A thousand thanks guys.

Felix, I didnt know Windows could do that. Yes, I am in Windows XP mode during the day when running PS, Gmax, and the rest.

David, I'll check that out. I fear DOS entries, but may have to do that anyways. "OOps.. Renamed ALL txt files to DDS! akkk!"



Bill

Lionheart
December 13th, 2009, 15:18
David,

That website had a danger warning. I didnt go in. Thanks though. Very much appreciated.


Felix,

That worked so fast, it didnt even blink! Done...

Another thousand thanks Sir!




old gray eyebrowed uncle bill

IanP
December 14th, 2009, 07:36
Gotta love Command Prompt sometimes... :d

I'd have suggested using the CP "rename" command too, had I visited this thread earlier.

FelixFFDS
December 14th, 2009, 16:59
Bill - you're welcome .... Us (two week old) grandpas have some (useful) life left!

Remember, we know more for being old than for being smart!

Moparmike
December 15th, 2009, 05:07
I'm pretty sure that the MacOS side of Bill's rig can handle the odd command-line job too.
(I'm not familiar with MacOS at all, but being based on Unix there has to be a command console hiding in there somewhere.)

Glad to see that there are still guys out there that remember what that Run..., "cmd" is still capable of! :) (Yeah you Felix and IanP. :d )

Bjoern
December 16th, 2009, 13:24
ReNamer can also do this.

spotlope
December 16th, 2009, 16:30
I find it amusing that in this day of GUIs, something like a command-line prompt is still so useful. There are times when only CMD --> RUN will do the job. There's a nifty little shortcut built into Windows 7 that let's you open a command-line prompt in whatever you're viewing. Just press the shift key while right clicking in the window, and you'll get an "Open a command window here" option. Very handy for running operations in those deeply nested folders.

Moparmike
December 16th, 2009, 18:40
There's a nifty little shortcut built into Windows 7 that let's you open a command-line prompt in whatever you're viewing. Just press the shift key while right clicking in the window, and you'll get an "Open a command window here" option. Very handy for running operations in those deeply nested folders.

Well I'll be darned...That's one XP Powertoy I was wondering how I was gonna get set up on my new 7 rig. And here MS went ahead and already have it included (I just have to use the shift when right-clicking).

Thanks Bill!