Results 1 to 7 of 7
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    whats the maximum length for a file name?

    in WinNT 4.0 whats the maximum lengh a file name can have?
    I have a user that has a filename with a length of 129 characters including the extension.
    I thought it was approx 25 characters with extension.
    any ideas?

    Diana

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: whats the maximum length for a file name?

    I believe that it is 255 characters. However, I think that the full file specification including the path can not exceed 255 characters.
    Legare Coleman

  3. #3
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: whats the maximum length for a file name?

    With NTFS, Microsoft is saying that the maximum path is 1024 characters. (KB Article 268722). There is a max_path variable that is set to 256 characters, and also files from a command prompt (cmd.exe) in NT 4.0 are limited to the 255 character limit.

    I actually thought NTFS was technically 'unlimited'. I believe NTFS 5.0 is either bigger or unlimited.

  4. #4
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: whats the maximum length for a file name?

    Thanks Drew,Legare.
    although you have to wonder why would a file name be over 1000 characters?
    Diana

  5. #5
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: whats the maximum length for a file name?

    That's path, not just file name....that can get pretty long.

    Also, sometimes people just let programs create their own filename, like Word uses the first line in your document.

  6. #6
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: whats the maximum length for a file name?

    ok...of course

  7. #7
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: whats the maximum length for a file name?

    Don't forget that if writing to a CD then CDFS restricts all directory and file names to 32 characters each - see TechNet <font color=blue>Windows NT Support For Long File Names Under CDFS File System - 142372</font color=blue>
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •