I need to get the NT (native) path of a file from the DOS (Win32) path in Ruby (1.9.3).
Meaning, I have the string:
dos_path = "C:\Windows\regedit.exe"
but I need:
nt_path = "\Device\HarddiskVolume1\Windows\regedit.exe"
Is there any way to do so? Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire