title: How to replace "\" with "\\" using powershell?
body: <p>I am having a string which contains path.</p>
  
  <pre><code>$Paths = "Myfolder\Mysubfolder"
  </code></pre>
  
  <p>I need to replace them like "Myfolder\Mysubfolder"</p>
  
  <p>But the <code>$Paths -replace "\","\\"</code> fails as regular expression is unable to find and replace "\".</p>
  
  <p>How to replace then?</p>