for each(file in directory)
// $inFile will be the current file in the loop. Something like: "C:\scripts\dev\myfile.js"
// $outFile will be something like: "C:\scripts\production\myfile.js"
java -jar "myjavafile.jar" $inFile $outFile
end for each
Thanks for the help!