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. The "sourcefile" can be a local file path, or an web address (URL) to an existing PDF.
Requires a licensed version of Win2PDF. Contact [email protected] for a time limited evaluation license.
Returns 0 on success, and a Windows system error code on failure.