---
title: "SWFTool批处理生产SWF"
author: "honley"
date: "2014-05-14T14:20:10Z"
tags: []
categories: ["Web前端"]
slug: "swftool-swf"
draft: false
lastmod: "2014-05-14T14:20:10Z"
id: 2066315
url: "https://honley.iteye.com/blog/2066315"
---

```
@echo off
@title 批处理的for循环
for %%i in (D:\pdf\pdf\*.pdf) do (
 "C:\SWFTools\pdf2swf.exe" -o D:\pdf\swf\%%~ni.swf -T -z -t %%i -s flashversion=9
)
pause
```