win2pdfd.exe convert "sourcefile"
win2pdfd.exe convert "sourcefile" "destpdf"
Converts the sourcefile to a PDF with the same name and location by using the default Windows application associated with the file type. If the "destpdf" parameter is specified, it is used for the destination PDF file location. If no Windows application is associated with the file type, the conversion will fail.
Any file names that contain spaces must be enclosed with quotation marks.
Returns 0 on success, and a Windows system error code on failure.