topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 7:26 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Up to the NTFS file system 32767 characters limit...  (Read 4349 times)

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Up to the NTFS file system 32767 characters limit...
« on: May 16, 2007, 09:09 PM »
NTFSpath : Has anybody used that ? Could be an interesting tool.

http://libmaster.com/ntfspath.php

The LibMaster.com NTFSpath library (0.1 beta)

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.

This library used in The Libmaster.com TreeWalk library.

The archive with the library have an application with examples of using for the all functions in the library.

You can use this library for free.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Up to the NTFS file system 32767 characters limit...
« Reply #1 on: May 16, 2007, 11:24 PM »
Sounds very cool. I'll have to check that out.  Thanks for posting it.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Up to the NTFS file system 32767 characters limit...
« Reply #2 on: May 19, 2007, 02:53 AM »
Sounds very cool. I'll have to check that out.  Thanks for posting it.

I haven't got the time to check it out yet.

The 260 characters limit has always bothered me since I like long file names (i put lots of keywords -- tags --in my file names, BUT I have very simple directory structures : perfect for FARR and desktop search tools...). The problem is that I always fear that i'll do something stupid with my directory structure at somepoint, and access to my files would become... difficult.
Anyway...

Did you try NTFSpath?