S
SavvyDev06
Guest
I have made two applications which link with each other using 2 text files they create by themselves on start. Each application creates one text file, and the other reads it.
The applications run fine and are able to read each other's text files on Mac, but when I exported it on Windows, the directory it saves the data is different from Mac. It is: C:\Users\(My username)\AppData\Local\Dave_s_PC\"saveData.txt" (The 'Dave_s_PC' file is the name of one of the apps)
However, in Windows, when the other application tries to find the file using: if (file_exists("saveData.txt"))
it can't find it, because it looks in the local files of only itself. (I think so)
Could you please tell me if there is a way of reading the other application's file in Windows, or can I do something else to fix that?
Thank you!
The applications run fine and are able to read each other's text files on Mac, but when I exported it on Windows, the directory it saves the data is different from Mac. It is: C:\Users\(My username)\AppData\Local\Dave_s_PC\"saveData.txt" (The 'Dave_s_PC' file is the name of one of the apps)
However, in Windows, when the other application tries to find the file using: if (file_exists("saveData.txt"))
it can't find it, because it looks in the local files of only itself. (I think so)
Could you please tell me if there is a way of reading the other application's file in Windows, or can I do something else to fix that?
Thank you!