title: Using windows "net use" command from java with win32 api
body: <p>I want to build an application on Java using the <code>Net Use</code> command.<br>
  I'm trying to find a way to do this via a <code>win32</code> API (or any other win API).<br>
  I would like to use a system call to obtain the information programmatically and not to parse the output of the &quot;net use&quot; command in my Java application.<br>
  I've downloaded <code>jna.jar</code> and <code>jna-platform.jar</code> and tried to find the proper function, but with no success.<br><br>
  Could anyone advise if there's a way to this via system call and/or what function to use from <code>jna</code>.
  Thanks in advance.
  Alex B</p>