Handling paths of length > 260 in Tcl on Windows



As the subject suggests, I need to be able to handle long pathnames on
Windows, ones that (although they exceed Explorer's hard limit of 255)
may be nearly-arbitrary in length.

This MSDN article mentions the issue:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/naming_a_file.asp

Basically, right now it looks like the normalized filenames in the Tcl
file libraries are normalized as "<drive>:/<path... >" whereas for this
functionality to work, at the very least, the file and I/O commands
would also have to accept "\\?\<drive>:\<path...>

Is there a workaround for this? I can't be the first person who has
needed this functionality...

.


Quantcast