Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xp_cmdshell problem

Status
Not open for further replies.

equus2

Programmer
Mar 5, 2008
36
US
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
 
nevermind....... figured it out... sorry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top