SQLCMD won’t launch from command line or sql job

  • SQLCMD won’t launch from command line or sql job. But the .exe in the binn folder launches fine. Getting the error cannot find the specified file in the (cmdExec) sql job. Same script works fine on other servers using same agent service account. This is SQL Server 2005 on Win Server 2003.

    Any ideas would be appreciated.

  • do you have the sqlcmd.exe folder in the %path% environment variable? If not, add it, or try using the full path

  • adb2303 (4/12/2013)


    do you have the sqlcmd.exe folder in the %path% environment variable? If not, add it, or try using the full path

    It was in there, but I re-added it to the end of the path and it worked. Thanks!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply