title: Ruby - DOS (Win32) path name to NT (native) path name
body: <p>I need to get the NT (native) path of a file from the DOS (Win32) path in <strong>Ruby</strong> (1.9.3).</p>
  
  <p>Meaning, I have the string:</p>
  
  <pre><code>dos_path = "C:\Windows\regedit.exe"
  </code></pre>
  
  <p>but I need:</p>
  
  <pre><code>nt_path = "\Device\HarddiskVolume1\Windows\regedit.exe"
  </code></pre>
  
  <p>Is there any way to do so?
  Thanks!</p>