Dennis, I ended up looking at the problem that way, as you suggested, given the issues with spying the command prompt window. The end result of the batch window is a SQL entry, so I am also looking at simply having BP create the text file itself based on the info it has scraped from the request and submit it directly to the database.
Would not have thought the cmd prompt spying would be such an issue 🙂