# if you need the path as a string, then use what random suggested. fwiw Dir has a function called realpath which returns the path as a string, but it does have some caveats