I use fopen to open some files given their absolute path. It opens most of the files but some of them don't.
I thought it was because of the file itself but when I manually shorten the name of the folder which contains it there is no problem with opening it.
Is there a way to deal with this without having to rename that folder?
EDIT
Just mention I'm not working in Windows, but Linux.