This how to guide shows you how to convert ArmA 2 PAA texture files into TGA format in a directory.
You need to have ArmA 2 bis tools installed, specifically pal2pace.exe and in our example .bat file its assumed to be in PATH, otherwise you need to include path to it.
@echo off md temp FOR /F "tokens=1* delims=. " %%A in ('dir /b *.paa') do ( Pal2PacE %%A.paa temp\%%A.tga ) move temp\*.tga . rd temp pause exit