Mac Folder Navigation

BlitzMax Forums/BlitzMax Beginners Area/Mac Folder Navigation

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have a simple copy file command that works fine on Windows:

CopyFile("../Database/Main.db", "../Save/New.db")

It simply puts a copy of the Main.db file in the Save folder. However, when I build the program on a Mac it creates an empty file called ../Save/New.db in the current directory. Clearly it doesn't like the "../" bit.

How do I navigate up a folder level?