title: What does "rundll32 dsquery,OpenQueryWindow" return?
body: <p>So I'm working on a project where I would like to be able to have the user browse the Active Directory to find a machine or workstation. I already know that you can envoke this directory search in the command prompt by using:</p>
  
  <pre><code>rundll32 dsquery,OpenQueryWindow
  </code></pre>
  
  <p>I'm using java for my project and I understand how to capture input from a command that I execute in the program but currently, at home, I'm not connected to a domain so I cannot test what the command returns when a user selects a computer or if it even returns anything. Could someone test this for me and tell me what it returns.</p>
  
  <p>Also, if anyone has any better ideas on how to achieve this without relying on window's tools, like maybe a Java API for Active Directory Services?</p>