I use C ++ and access the UNC path over the network. This path is slightly larger than MAX_PATH. Therefore, I cannot get the file descriptor.
But if I run the program on the computer in question, the path is no more than MAX_PATH. Therefore, I can get the file descriptor. If I rename a file to have fewer characters (minus the length of the computer name), I can access the file.
Is it possible to access this file over the network, even know that the computer name in the UNC path puts it in the MAX_PATH limit?
source
share