win2pdfd.exe deletepages "sourcefile" startpage endpage "destfile"
Delete pages from “sourcefile” starting at “startpage” to “endpage”, and save PDF with deleted pages in “destfile”. If "sourcefile" and "destfile" are the same file, the file is modified in place.
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 firstname.lastname@example.org for a time limited evaluation license.
Returns 0 on success, and a Windows system error code on failure.