Advertisement
jedihermit

dxf to jpg converter using open office

Jan 27th, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. rem This file will generate jpg preview files for any dxf in the source folder using open office's soffice.exe.
  2. rem Edit the source and target variable to rem match your folders.
  3. rem filenames can not include special characters or spaces
  4. rem use something like advances file renamer to fix a folder of filename easily.
  5.  
  6.  
  7. set source=L:\DXFfiles\
  8. set target=L:\DXFfiles\preview
  9.  
  10.  
  11. FOR /f "usebackq" %%G in (`dir/b %source%*.dxf`) do "C:\Program Files\LibreOffice\program\soffice" --convert-to jpg --outdir "%target%" "%source%%%G"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement