While creating a folder / file is really easy, just last night I decided to test my application on a different computer.
In that application I do create a specific directory. As I expected on the different computer it didn't quite work.
A file path in windows looks like this C:\Users\YOUR-USERNAME\Documents\Dreams
.
How thought in the code would you cope with the fact that on a new computer the username and drive partition could be different (a drive partition is the letter at the very begging for example C:
in this case).
I am really confused on how a programmer would get around drive partitions and usernames.
Thanks, any help is very much appreciated.