title: WMIC query to derive absolute share paths on LAN in Windows 10
body: <p>I'm trying to derive an absolute or full local path from a network path of a folder on a PC drive on LAN using WMIC or similar network tool run from a batch. A few threads devoted to similar tasks on this site when tested don't offer working solution in Win 10.</p>
  
  <p>For example, when running a suggested in one answer query in Win 10 Cmd, I got:</p>
  
  <pre><code>C:\WINDOWS\system32&gt;wmic share where "name='\\Laptop\Data'" get path
  Node - OFFICE
  ERROR:
  Description = Invalid query
  
  C:\WINDOWS\system32&gt;wmic share where "name='Data'" get path
  No Instance(s) Available.
  </code></pre>
  
  <p>I need this result: <em>K:\Data</em> , where K:\ is a hard drive of the remote PC on LAN, and Data is shared folder on that drive.</p>
  
  <p>Can someone suggest a working query &amp; batch for that task? WMIC documentation is way too extensive to derive a working query by trial-and-error without significant experience in using the tool.</p>