Command Line Usage

Convert a single file

dw.exe /InFile source-file-name /OutFile destination-dwf-file-name [/Hide]

Parameters:

/InFile          Input file name, e.g. D:\DWGs\Building.dwg
/OutFile        Output file name, e.g. D:\DWFs\Building.dwf
/Hide            Hide the result window

Example:

Convert sample.dwg to sample.dwf
dw.exe /InFile D:\sample.dwg /OutFile E:\sample.dwf

Convert sample.dxf to sample.dwf
dw.exe /InFile D:\sample.dxf /OutFile E:\sample.dwf

Convert a folder

dw.exe /InFolder source-folder /OutFolder destination-folder /ConvertType conversion-type [/IncSubFolder] [/Hide]

Parameters:

/InFolder          Input folder name, e.g. D:\DWGs
/OutFolder        Output folder name, e.g. D:\DWFs
/IncSubFolder   Include subdirectories.
/ConvertType   Conversion type, available values:
                       DWG2DWF         Convert DWG to DWF
                       DXF2DWF          Convert DXF to DWF
                       ALL2DWF           Convert DWG and DXF to DWF
/Hide               Hide the result window

Example:

Convert all dwg files to dwf  files
dw.exe /InFolder D:\Drawings\ /OutFolder F:\DWFs\ /ConvertType DWG2DWF /IncSubFolder

Convert all dwg and dxf files to dwf  files
dw.exe /InFolder D:\Drawings\ /OutFolder F:\DWFs\ /ConvertType ALL2DWF /IncSubFolder

Set options

dw.exe /options

Get Help

dw.exe /?

 

 


Copyright (c) 2022 AnyDWG Software, Inc (https://anydwg.com). All Rights Reserved.