title: Net.exe use 'Error: A command was used with conflicting switches.' while using /savecred
body: <p>I am trying to use following command to map a drive in persistent mode, and I don't want it to ask login credentials everytime I reboot the machine:</p>
  
  <pre><code>net use P: \\server\folder Password123 /user:user123 /savecred /persistent:yes
  </code></pre>
  
  <p>But I am getting folowing error:</p>
  
  <pre><code>A command was used with conflicting switches.
  More help is available by typing NET HELPMSG 3510.
  </code></pre>
  
  <p>I followed this article: <a href="http://pcsupport.about.com/od/commandlinereference/p/net-use-command.htm">http://pcsupport.about.com/od/commandlinereference/p/net-use-command.htm</a></p>
  
  <p>Please help with this issue.</p>