Handling paths of length > 260 in Tcl on Windows
- From: "ChrisR" <offby1@xxxxxxxxx>
- Date: 28 Apr 2006 14:29:29 -0700
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...
.
- Follow-Ups:
- Re: Handling paths of length > 260 in Tcl on Windows
- From: Benjamin Riefenstahl
- Re: Handling paths of length > 260 in Tcl on Windows
- From: Donald Arseneau
- Re: Handling paths of length > 260 in Tcl on Windows
- Prev by Date: Re: How to interpet Tcl/Tk stack information.
- Next by Date: Re: Tcl/Tk 8.5a4 released
- Previous by thread: Using foreach loop to create radiobutton menu
- Next by thread: Re: Handling paths of length > 260 in Tcl on Windows
- Index(es):