Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem This file will generate jpg preview files for any dxf in the source folder using open office's soffice.exe.
- rem Edit the source and target variable to rem match your folders.
- rem filenames can not include special characters or spaces
- rem use something like advances file renamer to fix a folder of filename easily.
- set source=L:\DXFfiles\
- set target=L:\DXFfiles\preview
- 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