Configuring the Creo View Adapter for DWF > Command Line Publishing for DWF > Using dwfbatch
  
Using dwfbatch
You can use a single command line to operate the Creo View Adapter for DWF to publish CAD data. The form of command line is as follows:
dwfbatch [options] <cad_data>
A command line conversion has the following stages:
1. Open a command prompt and navigate to the directory containing the CAD data you want to convert.
For the purposes of this example, the directory is C:\\dwf_data\\.
2. Type in the dwfbatch command, for example:
C:\ptc\dwf_setup\dwfbatch -p output dwf_test.dwf
In this example, the command line can be broken down in order from left to right as follows:
a. The setup directory containing the adapter configuration, followed by the command to convert the data:
C:\ptc\dwf_setup\dwfbatch
b. Option -p <output path> is shown as output. This is the name of the directory where the adapter places the converted data.
c. The DWF data to be converted is given as dwf_test.dwf.
3. Press ENTER and dwfbatch is launched. When the conversion is completed, the command prompt returns.
* 
You can publish more than one instance of CAD data at a time using dwfbatch. To publish a list of CAD data, type all of the names on the command line, separated by spaces. You can also use Wildcards (asterisks*) if you are confident that the data returned will be correct.
4. You can now open the converted data output in Creo View.
This completes the procedure for converting DWF CAD data to Creo View format using command line publishing.