So I want to navigate the file system from within a Fiji script, and create files. macOS uses /
as a separator while windows uses \
as a file separator. I can't for the life of me find an easy way to do this given the poor search ability of the documentation.
For example, in Matlab, I can use a built it variable filesep
or ispc()
or ismac()
to find out.
Is there a similar function in imageJ?
Thanks