for %%X in (*.dds) do nvcompress -tonormal %%X %%X_bump.ddsLast parameter is out file name.
If i have input images in that directory:
Image1.dds Image2.dds Image3.dds
Output will be:
Image1.dds_bump.dds Image2.dds_bump.dds Image3.dds_bump.dds
But i want to remove first extension so that output would be:
Image1_bump.dds Image2_bump.dds Image3_bump.dds
Help.
Thank you for your time.
EDIT: Solved. Last param should be:
%%~nX_bump.dds
Edited by belfegor, 20 December 2012 - 12:34 PM.






