win2pdfd.exe splitpagesaftersearch "sourcefile" "destfolder" "searchtext"
Split PDF from “sourcefile” into segments based on the contents of the PDF and the “searchtext” parameter. Win2PDF searches the text in the PDF, and splits the PDF after it encounters a page with the "searchtext". Page segments are placed in the “destfolder”, and are named with the original file name with a “.#.PDF” extension.
Any file names, folder paths, or searchtext parameters that contain spaces must be enclosed with quotation marks.
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.