I'm writing a code that creates a couple of files and saves them. The problem is, when the files are created they are saved to the user's home folder(unless the directory has been set in Terminal and the program runs from the same Terminal window), but I need it to be in the folder that that the code is running from.
This would be easy as long as it's on MY computer and I don't move the folder. However, I need it to work when it is running from someone else's computer when I send it to them.
I'd greatly appreciate it if someone could help. Thanks.