Log in

View Full Version : Tga.dds



Centurion Cato
04-22-2005, 15:01
I appologize in advance if i sound stupid but...


I'm trying to write a batchfile program that renames .TGA.DDS files but i've run in a problem due to i think multiple EXT's.

Here is the code:

rename UNIT.TGA H: UNIT1.TGA

The console just reports a syntax error

How do i get round the double extension? BTW this code works on 95 but my platform is XP.....


thanks

Sundjata Keita
04-22-2005, 17:18
Uh Oh, here comes a "read my sig". I don't know if this answers your question but you do realise that they are just dds files. The .tga is just at the end of their name.

Centurion Cato
04-22-2005, 17:38
Oh yes i realize that. The probelm is:

rename unit.DDS H: unit1.DDS
rename unit.tga.DDS H: unit1.tga.DDS
DOES not work in xp
i removed for example the (.tga) at the end of the file name and no dice.

i have done all that can be done and still does not work.

However in wni 95

this works
rename unit.DDS H: unit1.DDS or
rename unit.tga.DDS H: unit1.tga.DDS


But becuase the version of DOS is different in XP i have no dice.

What i'm looking for is a solution but without having to get win95.

get it?

Thanks for you reply anyway.

Myrddraal
04-23-2005, 13:42
:grin: BTW read my sig

Moved to the general forum