I have a simple .bat file that moves a file from one folder to another.
I cannot get it to run when scheduled without getting ‘The Program Object reported an error while running, but no error code was provided.’
I have set the lgon credentials (CMC/Objects/MyObject/Process/Logon) in the CMC. These credentials have read/write/execute authority on all files and folders involved
Any thoughts?
I am using this file to copy a report that is sent to a LAN destination. The report is refered to by a link on a web page so I have it scheduled to a different destination in case a user has the report opened (which wopuld cause the job to fail). I then want to run this .bat (using a file watch event to look for the report file) to move the file to the ‘real’ location pointed to by the link. Ther reason that I don’t want to just fail on the report job is that it an ‘expensive’ query and I don’t want to have to re-run it if it cannot write to the destination, even though the report actully refreshed.
In addition to just trying to get the bat job to run at all (not doing the filewatch event) I am wondering if there is a better way to do this.
Thanks,
DOTJake
DOTJake (BOB member since 2004-05-07)