As you know length of path in NTFS file system may reach 32767 characters but most of functions in Windows API permit a maximum path length 260 characters. The LibMaster.com NTFSpath library allows to work with a maximum path length 32,767 characters which is allowed in NTFS. It contains most useful functions for working with path strings and NTFS file system. Both of separators "/" and "" are equivalent for all of the functions in the library. Also no one of the functions do not trim spaces before the begin and after the end of an input string because NTFS allows space characters at the begin and at the end of filename or directory name.
The archive with the library has an application with examples of using for the all functions in the library.
You can use this library for free.
// LibMaster.com NTFSpath library version 0.1 beta - LICENCE.TXT
// COPYRIGHT (C) 2006 LibMaster.com. All Rights Reserved.
LibMaster.com NTFSpath library version 0.1 beta (LIBRARY) is freeware .
You can use it for free for any purposes.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT.
IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING
THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT,
TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER
DEALINGS IN THE SOFTWARE.
For more information contact: