This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using du.exe to calculate disk usage on a Microsoft cluster server
On 7/7/06, Linda Walsh wrote:
It is quite trivial. He's prepending either "S:/" or
"/cygdrive/s" to an existing pathname. The existing pathname can be at the
limit (~256 bytes). Adding either prefix, above, the pathlen becomes 259
...which is why MAX_PATH on windows is 260, to allow for these extra 3 chars...
Another easy way: cd to directory "/averylongdirnamethathas200chars"
you can create a file in that directory of "maxchars",
No, you can't. At least, you shouldn't be able to. The attempt to
create this file is supposed to fail because the limit is for the path
length as a whole.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/