This project has moved and is read-only. For the latest updates, please go here.

Long Path

The long path wrapper provides functionality to make it easier to work with paths that are longer than the current 259 character limit of the System.IO namespace. Using the long path classes, projects can now use paths up to 32,000 characters.

For more information on why .NET currently lacks built-in support for long paths, see the following blog post on the BCL blog:
Long Paths in .NET

Getting started

Class Reference

Having problems?

Ask a question
File a bug

Last edited Mar 30, 2010 at 2:41 AM by davkean, version 19


orionc2s Jan 26, 2017 at 6:57 AM 
I can get the all files from specified path in file name ascending order of file But I want to get all file in created date sorting order of file.
is there any way to get all files from directory in file created date order?

Yomodo Jul 15, 2014 at 11:13 AM 
It would live to invite everybody to take a look at AlphaFS:
AlphaFS has a more complete implementation.

chedebalakrishna Jan 3, 2012 at 11:38 PM 
Does the library has support to modify the permissions (setting/removing ACLs) on directories/files when the paths are longer.

ExtinctPencil2 Nov 25, 2011 at 12:45 PM 
Thanks really Useful.
Needs support for UNC paths ie where longPathPrefix = \\?\UNC\