T
Tom Potts
I'm trying to create, move ,rename and delete etc some
files on a network device but System.IO cannot handle long
filenames. Any ideas anyone?
files on a network device but System.IO cannot handle long
filenames. Any ideas anyone?
Tom said:I'm trying to create, move ,rename and delete etc some
files on a network device but System.IO cannot handle long
filenames. Any ideas anyone?
-----Original Message-----
You might want to try prepending the path with "\\?\". That should
extend the path to be up to 32000 characters.. If that does not work
with System.IO classes. You might want to use the Win32 APIs with
PInvoke (MoveFileEx, etc.)..
HTH