• whats the maximum length for a file name?

    Home » Forums » AskWoody support » Windows » Windows Vista, XP and earlier » Questions: Vista, XP back to 3.1 » whats the maximum length for a file name?

    Author
    Topic
    #383528

    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

    Viewing 1 reply thread
    Author
    Replies
    • #654414

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

    • #654420

      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.

    Viewing 1 reply thread
    Reply To: whats the maximum length for a file name?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: