• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

OT: TXT to DDS batch convertor?

Lionheart

SOH-CM-2014
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
 
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.
 
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.
 
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
 
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
 
Gotta love Command Prompt sometimes... :d

I'd have suggested using the CP "rename" command too, had I visited this thread earlier.
 
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!
 
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 )
 
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.
 
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!
 
Back
Top