# rootPath

## Synopsis

• Usage:
rootPath
• Outputs:
• , the path, as seen by external programs, to the root of the file system seen by Macaulay2

## Description

This string may be concatenated with an absolute path to get one understandable by external programs. Currently, this makes a difference only under Microsoft Windows with Cygwin, but there it's crucial for those external programs that are not part of Cygwin. Fortunately, programs compiled under Cygwin know were to look for files whose paths start with something like C:/, so it is safe always to concatenate with the value of rootPath, even when it is unknown whether the external program has been compiled under Cygwin.

 i1 : fn = temporaryFileName() o1 = /tmp/M2-77365-0/0 i2 : rootPath | fn o2 = /tmp/M2-77365-0/0