in my previous question as follows:
" How to create a copy of a file longer than 260 characters .
I asked almost the same thing, and I have a solution to rename the directory name and then copy to a new location. But at the request of the client, we can not rename the directory in any case.
So, now my problem is that we are trying to copy a file with a path length (including file name) of more than 260 characters (say 267 characters), this allows us to copy manually, but throws an exception programmatically in the OS.
Please let me know if anyone has a solution.
Suman source
share