AnsweredAssumed Answered

Get ( XXXPath ) and remove the volume name

Question asked by dobunzli on Sep 30, 2015
Latest reply on Sep 30, 2015 by dobunzli



I would like to use a function like Get(DesktopPath) or  Get(TemporaryPath) but then removing the /Volume Name left part of the result.


Say the path obtained is /Macintosh HD/Users/myusername/Desktop I would like to have only the /Users/mysusername/Desktop part because I need this path in a shell script. Of course I would like to make it work on any computer (i.e with maybe a different volume name).


Thanks in advance for your help.