I have written a Powershell script that automatically creates .bps based on settings in AD, which automatically categorizes servers in Early Patch, Late Patch, and futher sub categories.
My issue is that when I create these I put them in a folder in the BatchPatch folder, but when I execute the .bps file, it says it cannot find PSExec.
I resolved the issue by copying PSexec into the folder where I have my .bps files, but I think it should always check the folder where the batchpatch.exe file is located as well.