Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 xp_cmdshell getting return code 128

Author  Topic 

sw26p2
Starting Member

8 Posts

Posted - 2010-04-19 : 11:41:05
I have a sp that is using xp_cmdshell.
It was working fine, then all of a sudden it's getting a return code value 128. No code has changed.
The following code also gets a return code 128.
I can't find any documentation on what it means.
Thank you for your help
Sue

DECLARE @rc int
EXEC @rc = master.dbo.xp_cmdshell 'dir d:\temp\*.txt'
print @rc

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-04-19 : 12:43:21
Read the last 3 posts on:
http://www.sqlnewsgroups.net/group/microsoft.public.sqlserver.server/topic19709.aspx


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -