Convert CAD Files Via Command Line With Total CAD Converter
Usage: CADConverter.exe <source> <destination> <options>
If you have path with spaces, use quotation marks.
By the way You can use macroses in the Destination path
- <DATE[:format]> - current date, default format is yyyymmdd
- <TIME[:format]> - current time, default format hhmmss
For example: destination C:\<DATE>_<TIME:hhmm> produce file C:\20100923_1304Options:
- -log <FileName> - Don`t show errors. Write them to the log file
- -list - File with files mask to convert
- -Recurse - Include subfolders
- -do - Delete originals
- -kfs - Keep Folder Structure
- -cimt - Combine images to multipage TIFF
- none - Every image to separate file
- onefile - All images to one file
- folder - Separate files by folders
- name - Separate files by common name part
- blank - Separate files by blank page
- -npr - Range you want to analyze for grouping files by name
- -c - Convert action
- bmp - convert to windows bitmap
- jpg - convert to jpeg file
- j2k - convert to jpeg 2000 file
- tif - convert to tiff file
- png - convert to png file
- wmf - convert to windows metafile
- svg - convert to scalable vector graphics
- dxf - convert to AutoCAD drawing interchange format
- hpgl - convert to HPGL format
- cgm - convert to CGM format
- pdf - convert to Adobe Acrobat PDF
- -s - Resize to <Width>x<Height>
- -m - Resize method
- n - no resize
- s - stretch
- t - thumbnail
- f - fit
- -crop - Crop to <Left>x<Top>-<Right>x<Bottom>
- -o - Rotate
- tr -
top / right side - br -
bottom / right side - bl -
bottom / left side - lt -
left side / top - rt -
right side / top - rb -
right side / bottom - lb -
left side / bottom
- -cl - BMP Colors
- bw - black-and-white
- gray - grayscale
- 16 - 16 colors
- 256 - 256 colors
- true - true color
- -tc - Tiff file compression
- auto - Select best compression for every page
- unc - uncompressed TIFF
- lzw - LZW compression
- rle - RLE compression (packbits)
- jpg - JPEG compression
- bhc - Bilevel Huffman compression (CCITT1D)
- bgm - Bilevel Group 3 CCITT compression, monodimensional (G3FAX1D)
- bgb - Bilevel Group 3 CCITT compression, bidimensional (G3FAX2D)
- bg4 - Bilevel Group 4 CCITT compression, bidimensional (G4FAX)
- zip - ZIP compression (non TIFF standard)
- dfl - DEFLATE, Adobe ZIP compression (non TIFF standard)
- -tp - TIFF Photometric interpretation
- wz - white is zero
- bz - black is zero
- rgb - RGB
- pal - RGB palette
- mask - Transparent mask
- cmyk - CMYK
- ycbcr - YCBCR
- cielab - CIELAB
- -jq - JPEG compression quality
- -jcs - JPEG color space
- rgb - RGB
- gray - GRAY
- ycbcr - YCbCr
- cmyk - CMYK
- ycbcrk - YCbCrK
- -wf - WMF type
- -tbg - Background color for transparent images
- -pc - PDF compression
- unc - no compression
- rle - run length compression
- g4 - G4Fax (only black/white images)
- g3 - G3Fax (only black/white images)
- jpg - DCT-jpeg (only color images)
- lzw - LZW compression (for color and black/white images)
- -pn - PDF Paper name
- -ps - PDF Paper size x (for custom page name)
- -po - PDF Paper orientation
- p - Portrait
- l - Landscape
- -pdf_title - PDF document title
- -pdf_subject - PDF document subject
- -pdf_author - PDF document author
- -pdf_keywords - PDF document keywords
- -wif - Watermark image file name
- -wit - Watermark image transparency
- -wip - Watermark image position
- tl - Top Left
- tr - Top Right
- bl - Bottom Left
- br - Bottom Right
- -wtc - Watermark comment
- -wtcp - Watermark comment position
- tl - Top Left
- t - Top
- tr - Top Right
- bl - Bottom Left
- b - Bottom
- br - Bottom Right
- c - Center
- -wtcs - Watermark comment space
- -wtcf - Watermark comment font "Font Name,Size,Color(HTML Style),Style(BISU)"
wtcf "Arial,10,Red,BI" - font Arial, size - 10pt, color - red and style - Bold, Italic
- -cm - Specifies the appearance of colors
- normal - Show drawing in colors
- bw - Show drawing in black-white
- disabled - Show drawing in grayscale
Note that -list is used when there is a list of files in a file.