Hi,
When I run c:\runScript.bat from a cmd line, it works fine. But when I try to run from mgmt studio:
exec master..xp_cmdshell 'c:\runScript.bat'
Why am I getting this error message:
'c:\runScript.bat' is not recognized as an internal or external command,
operable program or batch file.
NULL
What's the problem?
Thanks
When I run c:\runScript.bat from a cmd line, it works fine. But when I try to run from mgmt studio:
exec master..xp_cmdshell 'c:\runScript.bat'
Why am I getting this error message:
'c:\runScript.bat' is not recognized as an internal or external command,
operable program or batch file.
NULL
What's the problem?
Thanks