title: How do I convert UNIX path to DOS path
body: <p>Need a regex or some other method to convert UNIX path to DOS path.</p>
  
  <p>I have</p>
  
  <pre><code>C:/My Document/Photo.gif
  </code></pre>
  
  <p>Need</p>
  
  <pre><code>C:\My Document\Photo.gif
  </code></pre>