How can I make OS X recognize drive letters?

后端 未结 7 1600
长情又很酷
长情又很酷 2021-01-20 23:11

I know. Heresy. But I\'m in a bind. I have a lot of config files that use absolute path names, which creates an incompatibility between OS X and Windows. If I can get OS X (

7条回答
  •  遥遥无期
    2021-01-20 23:46

    Just tested something out, and discovered something interesting: In Windows, if the current directory is on the same logical volume (i.e. root is the same drive letter), you can leave off the drive letter when using a path. So you could just trim off all those drive letters and colons and you should be fine as long as you aren't using paths to items on different disks.

提交回复
热议问题