title: Net use Command : Windows CE
body: <p>I'm trying to send network credentials using Net Use command.</p>
  
  <p>This is what I have:</p>
  
  <pre><code>@echo off
  net use \\&lt;serverName&gt;\&lt;shareFolder&gt;\ passw0rd /USER:domain.com\UserName
  PAUSE
  </code></pre>
  
  <p>This automatically inserts the username and Domain but for some reason not the password!!</p>
  
  <p>I have tried it like this as well: </p>
  
  <pre><code>@echo off
  net use \\&lt;serverName&gt;\&lt;shareFolder&gt;\ /USER:domain.com\UserName passw0rd 
  PAUSE
  </code></pre>
  
  <p>I have checked the paths I'm using and they definitely work. When i copy them out and paste in RUN they work.</p>
  
  <p>Same goes for the username and passwords.</p>
  
  <p>Everything in google search is purple cause I've clicked on all the links :/ </p>
  
  <hr>
  
  <p>Ok, I thought I had it...</p>
  
  <p>I tried it like this:</p>
  
  <pre><code>@echo off
  net use \\&lt;serverName&gt;\&lt;shareFolder&gt;\ &lt;mapName&gt; /USER:domain.com\UserName passw0rd 
  PAUSE
  </code></pre>
  
  <p>And it worked, but only because i entered the password before i tried it like this and then it remembered the password.</p>
  
  <p>So I'm still looking for a way.</p>
  
  <p>Please help.</p>