I am getting the following error when running a command in Query
Analyzer.
Msg 50001, Level 1, State 50001
xpsql.cpp: Error 5 from CreateProcess on line 675
Here is the command that I am running that generates this error
message:
xp_cmdshell "@ECHO test message > c:\temp\newtemp.txt"
The command inside the xp_cmdshell command runs successfully from a
Windows command prompt. Simpler commands also fail with the same error
message. For example:
xp_cmdshell 'dir'
Can anyone suggest a solution to this problem? I assume this problem is
due to a permissions/security issue. I have given Everyone Full Control
over c:\temp.
Windows 2000
SQL Server 2000
Thanks for any help.