|
Command Line |
Introduction Previous Next |
|
Usage: ABViewer [command] [switch][switch]file[s...]
Example: open FileName.dxf ABViewer.exe FileName.dxf
/c xxx this is the command used for conversion where 'xxx' - extension of output file(s) - dxf, plt, pdf, bmp, jpg, emf, wmf, tif or gif Switches: dir= - destination folder Width='value' - width of output file(s) Height='value' - height of output file(s) Example: convert 50states.hpg, test1.dxf and test2.plt to 50states.bmp, test1.bmp and test2.bmp with width=100 and height=200, destination folder is "C:/Tmp" ABViewer.exe /c bmp dir=C:/Tmp width=100 height=200 50states.hpg test1.dxf test2.plt
It is possible to convert files using both a relative path and an absolute path. As an example let's see how we can convert a CGM file (c:\data\file1.cgm) into DXF:
"C:\Program Files\Soft Gold\ABViewer 7\ABViewer.exe" /c dxf c:\data\file1.cgm
The path consists of 3 parts separated by spaces:
Please note: the command-line should be started from the folder, where the file to be converted is contained. Again the 3 parts: "C:\Program Files\Soft Gold\ABViewer 7\ABViewer.exe" /c dxf data\file1.cgm
Example: "C:\Program Files\Soft Gold\ABViewer 7\ABViewer.exe" /c dxf dir=c:\temp data\file1.cgm
This path consists of four parts:
/p Example: print the following files: 50states.hpg, test1.dxf and test2.plt ABViewer.exe /p 50states.hpg test1.dxf test2.plt
/pa Example: print all the sheets of the following files: 50states.hpg, test1.dxf and test2.plt ABViewer.exe /pa 50states.hpg test1.dxf test2.plt
msiexec /i Example: install ABViewer in a silent mode: msiexec /i c:\Temp\abviewer.msi /quiet Example: uninstall ABViewer in a silent mode: msiexec /x c:\Temp\abviewer.msi /quiet
/silent Example: Install ABViewer in a silent mode. The process of installation is displayed. C:/Downloads/setup.exe /silent /verysilent Example: Install ABViewer in a silent mode. The process of installation is not displayed. C:/Downloads/setup.exe /verysilent |