I am currently developing and Adobe Air mobile application and need to convert a large number of files from .png to .atf.
I currently do this by running commands like the one below on every file.
png2atf -c d -r -q 0 -f 0 -i inputFile.png -o outputFile.atf
I've created a batch file and added the commands line by line ...it works but I have to update that every time a file name changes. I've tried a couple of loops I've found around the web ...but haven't managed to get it working. I would really appreciated if some one can help me out with a piece of code that would loop through the files/directories in a the input folder and recreate the structure in an output directory while converting the files.
Thanks.