Problems with opening files | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Problems with opening files

How can I open a file which is in desktop?

19th Jul 2016, 10:15 AM
Magic M
Magic M - avatar
4 Respostas
0
You don't know the path to the desktop? Well it is in C:\Users\'your user'\Desktop Alternatively you could just check the properties of the file and check the path.
19th Jul 2016, 12:07 PM
Gershon Fosu
Gershon Fosu - avatar
0
Yeah I did that but I have issues, it doesn't open any file.. I thought maybe I should do that with another path
19th Jul 2016, 12:13 PM
Magic M
Magic M - avatar
0
Show me the code you wrote
19th Jul 2016, 12:15 PM
Gershon Fosu
Gershon Fosu - avatar