for %%F in ("%CD%\*.pdf") do pdf2vec.exe -swfburst2 -swfflatten -mapfont "%%F" "%%~dpnF.swf"