Ruby - Getting the UNC Path of a local file

前端 未结 0 340
野性不改
野性不改 2021-01-14 05:16

Is it possible in Ruby running on Windows to resolve a local file to its UNC path.

For example: D:\\hello.jpg should resolve to \\\\server01\\DShare\\hello.jpg

相关标签:
回答
  • 消灭零回复
提交回复
热议问题