This program now requires this download to delete extra pages https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-win-setup.exe
To run this script you need to install AutoIt https://www.autoitscript.com/site/autoit/downloads/ After installing you can click on the scanNameTest.au3 and it will run in the background
This program will look at c:\scans in a while loop Any PDF starting with K will cause the prompt to appear