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?
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?