It is a common misconception that the constant MAX_PATH refers to the maximum length of a Windows path. It actually refers to the maximum length of a Windows path *component*, such as a filename or a folder name.
You can have multiple folder levels, with each folder's name a maximum of MAX_PATH characters. > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 25 Oct 2007 21:05:27 -0500 > From: Alan Guedeney <[EMAIL PROTECTED]> > Subject: Re: [NAnt-users] Advanced NANT question ... > To: Erich Eichinger <[EMAIL PROTECTED]>, > <nant-users@lists.sourceforge.net> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > > Ok, I get a PathTooLongException. Another limitation of using it this way is > that the max path size is something ridiculous like 260 characters, where as > the system max path size is much larger! On top of that, I do not see a way > to retrieve the standard out or standard error from the program. What a pain! > > > -- Mike Frederick [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users