Skip to content

Instantly share code, notes, and snippets.

@dai1741
Created December 23, 2011 13:31
Show Gist options
  • Save dai1741/1514218 to your computer and use it in GitHub Desktop.
Save dai1741/1514218 to your computer and use it in GitHub Desktop.
Convert wmf files in current directory to svg files using Inkscape
@echo off
for %%i in (*.wmf) do set WMF=%%i&call :sub
goto :eof
:sub
set SVG=%WMF:~0,-3%svg
"C:\Program Files (x86)\Inkscape\inkscape" "%WMF%" -l "%SVG%"
:: the inkcape path is hard coded, so you probably need to modify it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment