-2

I have something that may be a simple question, but I am relative new in programming and this doubt is something that I don't know how to do. Imagine that I need to get a file from the Downloads folder, I will code and search to the path, for example:

C:\Users\john\Downloads\index_battery-supervision.pdf

and then save in my app directory. But this will only work for johns PC

How can I use a directory that works for all PCs?

Thank you very much.

thaidy_04
  • 9
  • 3

0 Answers0