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 Development (2000)
 xp_cmdshell return values

Author  Topic 

kelleyb
Yak Posting Veteran

61 Posts

Posted - 2001-08-12 : 13:28:21
If I execute something as simple as EXEC master..xp_cmdshell 'nslookup www.mydomain.com' the output is about 6 rows. However, I'd like to be able to reference one of the rows and do some string manipulation to get the values I need. (errr... I just want to get the IP of a server I'm looking up.)

Any tips would be appreciated

-B

"Of all sad words of mouth and pen, the saddest are these: It might have been" -Benjamin Franklin
   

- Advertisement -