Configuring the Creo View Adapter for SolidWorks > SolidWorks Command Line Publishing > swbatchOverview
  
swbatchOverview
swbatch is used to publish SolidWorks CAD data from the command line. swbatch runs SolidWorks in non-graphics mode. By typing a simple command at the prompt, CAD data is converted and immediately viewable using the Creo View client.
* 
Only one instance of SolidWorks can be run on a computer. If you are already running SolidWorks, swpublish, swbatch, or swworker, any attempt to run another swbatch process will fail, displaying the following error:
sw2pv Fatal: SolidWorks is already running please exit SolidWorks first