Home

'lprun' is not recognized as an internal or external command, operable program or batch file

I have a script which runs fine on its own but when I put it in SQL Job Agent on a batch file, I get the error above:

This is what goes in my batch file:
lprun -format=csv C:\AUTOMATION\Jobs\Job1.linq > Job1.csv


This is the full error . . . .

Message
Executed as user: SYS\User1. C:\Windows\system32>lprun -format=csv C:\AUTOMATION\Jobs\Job1.linq 1>Job1.csv 'lprun' is not recognized as an internal or external command, operable program or batch file. Process Exit Code 1. The step failed.


Any ideas what I may be doing wrong?

Many thanks.

Comments

Sign In or Register to comment.