How can I view workgroups and domains from the command line (windows xp)

what command will list the different domains on the microsoft windows network?
 is there a command that will list the workgoups for a given domain?  
I want to use how can i ping a computer by name that is on the same domain, but in another workgoup?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Dean ChafeeConnect With a Mentor IT/InfoSec ManagerCommented:
Try NET VIEW for all computers on your domain, and NET VIEW / for all computers on
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.