Forum Discussion
joffre
15 years agoRegular Contributor
To debug, write out the contents of that string to the log and see what it comes back as.
My guess is that the filename that it's trying to execute is, for some reason, not working.
The other possibility is that sqlcmd may not be in your windows path and that may be kicking out the "file not found" error. See if you can write out the path to sqlcmd and see if that works for you.
sqlcmd is working fine. On my other post I showed you the method I'm using. And it doesn't have any problem. I'll try to debug and tell you what happened.
Thanks