Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista File Management > File name size limit?

Reply
Thread Tools Display Modes

File name size limit?

 
 
Alejandro
Guest
Posts: n/a

 
      03-10-2007
Hi, I posted this question some time ago with no luck, so I would like to
give a try again in case there are new info about this. I would like to know
the file name size limit in windows vista (or windows server 2003 if
better). For NTFS the limit is 256 characters and this includes the whole
path like c:\folder1\folder2\folder3....\folderN.
I know Microsoft was working in a new file system and was planning to
include it with Vista but later they removed the proyect from Vista, this
file system was SQL-based and I suppose the limit for the file names would
be greatly increased...but now I dont know.
Any info?
Thanks!
Alejandro.


 
Reply With Quote
 
 
 
 
Puppy Breath
Guest
Posts: n/a

 
      03-10-2007
WinFS is the file subsystem. But I don't recall ever seeing anything about
path length limits in any of the sparse documentation on that. Vista still
uses NTFS and as far as I know the 256 character limit still applies.

Here's some general info on WinFS:

http://msdn.microsoft.com/msdnmag/issues/04/01/WinFS/

http://en.wikipedia.org/wiki/WinFS


"Alejandro" <> wrote in message
news:...
> Hi, I posted this question some time ago with no luck, so I would like to
> give a try again in case there are new info about this. I would like to
> know the file name size limit in windows vista (or windows server 2003 if
> better). For NTFS the limit is 256 characters and this includes the whole
> path like c:\folder1\folder2\folder3....\folderN.
> I know Microsoft was working in a new file system and was planning to
> include it with Vista but later they removed the proyect from Vista, this
> file system was SQL-based and I suppose the limit for the file names would
> be greatly increased...but now I dont know.
> Any info?
> Thanks!
> Alejandro.
>



 
Reply With Quote
 
Guest
Posts: n/a

 
      03-11-2007
Vista, 2000, XP, etc all support 32000 character file names. However most
programs can't so don't try to use them. Programs have to be programmed to
use the larger name length. And the limit is Max Path 260 and Max Name 256.
"Alejandro" <> wrote in message
news:...
> Hi, I posted this question some time ago with no luck, so I would like to
> give a try again in case there are new info about this. I would like to
> know the file name size limit in windows vista (or windows server 2003 if
> better). For NTFS the limit is 256 characters and this includes the whole
> path like c:\folder1\folder2\folder3....\folderN.
> I know Microsoft was working in a new file system and was planning to
> include it with Vista but later they removed the proyect from Vista, this
> file system was SQL-based and I suppose the limit for the file names would
> be greatly increased...but now I dont know.
> Any info?
> Thanks!
> Alejandro.
>


 
Reply With Quote
 
Guest
Posts: n/a

 
      03-11-2007
For a program to let windows know it can handle 32k paths it prepends \\?\
to file names when opening a file. You can do this too in CMD.

copy "\\?\c:\somewhere very long\a very long file bame.txt"
"\\?\d:\somewhereelse very long\a very long file bame.txt"

<.> wrote in message news:%...
> Vista, 2000, XP, etc all support 32000 character file names on NTFS.
> However most programs can't so don't try to use them. Programs have to be
> programmed to use the larger name length. And the limit is Max Path 260
> and Max Name 256 for most programs.
> "Alejandro" <> wrote in message
> news:...
>> Hi, I posted this question some time ago with no luck, so I would like to
>> give a try again in case there are new info about this. I would like to
>> know the file name size limit in windows vista (or windows server 2003 if
>> better). For NTFS the limit is 256 characters and this includes the whole
>> path like c:\folder1\folder2\folder3....\folderN.
>> I know Microsoft was working in a new file system and was planning to
>> include it with Vista but later they removed the proyect from Vista, this
>> file system was SQL-based and I suppose the limit for the file names
>> would be greatly increased...but now I dont know.
>> Any info?
>> Thanks!
>> Alejandro.
>>

>


 
Reply With Quote
 
Alejandro
Guest
Posts: n/a

 
      03-11-2007
this is very interesting, I wonder why is it that sometimes Windows Explorer
let you create as many nested folders as you want but then dont let you
move-copy the folders to another location. Anyways I need IIS to be able to
handle huge amount of nested folders and dont know how can I prepend \\?\ in
that case, is it possible?


<.> wrote in message news:...
> For a program to let windows know it can handle 32k paths it prepends \\?\
> to file names when opening a file. You can do this too in CMD.
>
> copy "\\?\c:\somewhere very long\a very long file bame.txt"
> "\\?\d:\somewhereelse very long\a very long file bame.txt"
>
> <.> wrote in message news:%...
>> Vista, 2000, XP, etc all support 32000 character file names on NTFS.
>> However most programs can't so don't try to use them. Programs have to be
>> programmed to use the larger name length. And the limit is Max Path 260
>> and Max Name 256 for most programs.
>> "Alejandro" <> wrote in message
>> news:...
>>> Hi, I posted this question some time ago with no luck, so I would like
>>> to give a try again in case there are new info about this. I would like
>>> to know the file name size limit in windows vista (or windows server
>>> 2003 if better). For NTFS the limit is 256 characters and this includes
>>> the whole path like c:\folder1\folder2\folder3....\folderN.
>>> I know Microsoft was working in a new file system and was planning to
>>> include it with Vista but later they removed the proyect from Vista,
>>> this file system was SQL-based and I suppose the limit for the file
>>> names would be greatly increased...but now I dont know.
>>> Any info?
>>> Thanks!
>>> Alejandro.
>>>

>>

>



 
Reply With Quote
 
Guest
Posts: n/a

 
      03-11-2007
Don't know. Depends if it was programmed to handle maxpath 32K or 260 (max
name is the same for both at 256). If it's 260 then a 32k path, if you can
pursuade it to use it, will crash it - it will cause a buffer overrun.
"Alejandro" <> wrote in message
news:%...
> this is very interesting, I wonder why is it that sometimes Windows
> Explorer let you create as many nested folders as you want but then dont
> let you move-copy the folders to another location. Anyways I need IIS to
> be able to handle huge amount of nested folders and dont know how can I
> prepend \\?\ in that case, is it possible?
>
>
> <.> wrote in message news:...
>> For a program to let windows know it can handle 32k paths it prepends
>> \\?\ to file names when opening a file. You can do this too in CMD.
>>
>> copy "\\?\c:\somewhere very long\a very long file bame.txt"
>> "\\?\d:\somewhereelse very long\a very long file bame.txt"
>>
>> <.> wrote in message news:%...
>>> Vista, 2000, XP, etc all support 32000 character file names on NTFS.
>>> However most programs can't so don't try to use them. Programs have to
>>> be programmed to use the larger name length. And the limit is Max Path
>>> 260 and Max Name 256 for most programs.
>>> "Alejandro" <> wrote in message
>>> news:...
>>>> Hi, I posted this question some time ago with no luck, so I would like
>>>> to give a try again in case there are new info about this. I would like
>>>> to know the file name size limit in windows vista (or windows server
>>>> 2003 if better). For NTFS the limit is 256 characters and this includes
>>>> the whole path like c:\folder1\folder2\folder3....\folderN.
>>>> I know Microsoft was working in a new file system and was planning to
>>>> include it with Vista but later they removed the proyect from Vista,
>>>> this file system was SQL-based and I suppose the limit for the file
>>>> names would be greatly increased...but now I dont know.
>>>> Any info?
>>>> Thanks!
>>>> Alejandro.
>>>>
>>>

>>

>
>


 
Reply With Quote
 
Alejandro
Guest
Posts: n/a

 
      03-11-2007
now that you mention that I realize that in fact I havent tried IIS with
very long file names because I always use Windows Explorer to create them.
It would be an interesting test.
Anyways thanks a lot for your comments, I didnt know about the 32k
maxpath...this is using the Win32 API right? correct me if I am wrong but I
am kind of rusty


<.> wrote in message news:...
> Don't know. Depends if it was programmed to handle maxpath 32K or 260 (max
> name is the same for both at 256). If it's 260 then a 32k path, if you can
> pursuade it to use it, will crash it - it will cause a buffer overrun.
> "Alejandro" <> wrote in message
> news:%...
>> this is very interesting, I wonder why is it that sometimes Windows
>> Explorer let you create as many nested folders as you want but then dont
>> let you move-copy the folders to another location. Anyways I need IIS to
>> be able to handle huge amount of nested folders and dont know how can I
>> prepend \\?\ in that case, is it possible?
>>
>>
>> <.> wrote in message news:...
>>> For a program to let windows know it can handle 32k paths it prepends
>>> \\?\ to file names when opening a file. You can do this too in CMD.
>>>
>>> copy "\\?\c:\somewhere very long\a very long file bame.txt"
>>> "\\?\d:\somewhereelse very long\a very long file bame.txt"
>>>
>>> <.> wrote in message news:%...
>>>> Vista, 2000, XP, etc all support 32000 character file names on NTFS.
>>>> However most programs can't so don't try to use them. Programs have to
>>>> be programmed to use the larger name length. And the limit is Max Path
>>>> 260 and Max Name 256 for most programs.
>>>> "Alejandro" <> wrote in message
>>>> news:...
>>>>> Hi, I posted this question some time ago with no luck, so I would like
>>>>> to give a try again in case there are new info about this. I would
>>>>> like to know the file name size limit in windows vista (or windows
>>>>> server 2003 if better). For NTFS the limit is 256 characters and this
>>>>> includes the whole path like c:\folder1\folder2\folder3....\folderN.
>>>>> I know Microsoft was working in a new file system and was planning to
>>>>> include it with Vista but later they removed the proyect from Vista,
>>>>> this file system was SQL-based and I suppose the limit for the file
>>>>> names would be greatly increased...but now I dont know.
>>>>> Any info?
>>>>> Thanks!
>>>>> Alejandro.
>>>>>
>>>>
>>>

>>
>>

>



 
Reply With Quote
 
Guest
Posts: n/a

 
      03-11-2007
Yes this is win32 API syntax. Remember the NT operating system runs other
operating systems. These are the Windows API rules.
"Alejandro" <> wrote in message
news:...
> now that you mention that I realize that in fact I havent tried IIS with
> very long file names because I always use Windows Explorer to create them.
> It would be an interesting test.
> Anyways thanks a lot for your comments, I didnt know about the 32k
> maxpath...this is using the Win32 API right? correct me if I am wrong but
> I am kind of rusty
>
>
> <.> wrote in message news:...
>> Don't know. Depends if it was programmed to handle maxpath 32K or 260
>> (max name is the same for both at 256). If it's 260 then a 32k path, if
>> you can pursuade it to use it, will crash it - it will cause a buffer
>> overrun.
>> "Alejandro" <> wrote in message
>> news:%...
>>> this is very interesting, I wonder why is it that sometimes Windows
>>> Explorer let you create as many nested folders as you want but then dont
>>> let you move-copy the folders to another location. Anyways I need IIS to
>>> be able to handle huge amount of nested folders and dont know how can I
>>> prepend \\?\ in that case, is it possible?
>>>
>>>
>>> <.> wrote in message news:...
>>>> For a program to let windows know it can handle 32k paths it prepends
>>>> \\?\ to file names when opening a file. You can do this too in CMD.
>>>>
>>>> copy "\\?\c:\somewhere very long\a very long file bame.txt"
>>>> "\\?\d:\somewhereelse very long\a very long file bame.txt"
>>>>
>>>> <.> wrote in message news:%...
>>>>> Vista, 2000, XP, etc all support 32000 character file names on NTFS.
>>>>> However most programs can't so don't try to use them. Programs have to
>>>>> be programmed to use the larger name length. And the limit is Max Path
>>>>> 260 and Max Name 256 for most programs.
>>>>> "Alejandro" <> wrote in message
>>>>> news:...
>>>>>> Hi, I posted this question some time ago with no luck, so I would
>>>>>> like to give a try again in case there are new info about this. I
>>>>>> would like to know the file name size limit in windows vista (or
>>>>>> windows server 2003 if better). For NTFS the limit is 256 characters
>>>>>> and this includes the whole path like
>>>>>> c:\folder1\folder2\folder3....\folderN.
>>>>>> I know Microsoft was working in a new file system and was planning to
>>>>>> include it with Vista but later they removed the proyect from Vista,
>>>>>> this file system was SQL-based and I suppose the limit for the file
>>>>>> names would be greatly increased...but now I dont know.
>>>>>> Any info?
>>>>>> Thanks!
>>>>>> Alejandro.
>>>>>>
>>>>>
>>>>
>>>
>>>

>>

>
>


 
Reply With Quote
 
Alejandro
Guest
Posts: n/a

 
      03-11-2007
I am glad that win32 API is eventually been replaced with .net
framework..windows api is kind of obsolete already

<.> wrote in message news:%...
> Yes this is win32 API syntax. Remember the NT operating system runs other
> operating systems. These are the Windows API rules.
> "Alejandro" <> wrote in message
> news:...
>> now that you mention that I realize that in fact I havent tried IIS with
>> very long file names because I always use Windows Explorer to create
>> them. It would be an interesting test.
>> Anyways thanks a lot for your comments, I didnt know about the 32k
>> maxpath...this is using the Win32 API right? correct me if I am wrong but
>> I am kind of rusty
>>
>>
>> <.> wrote in message news:...
>>> Don't know. Depends if it was programmed to handle maxpath 32K or 260
>>> (max name is the same for both at 256). If it's 260 then a 32k path, if
>>> you can pursuade it to use it, will crash it - it will cause a buffer
>>> overrun.
>>> "Alejandro" <> wrote in message
>>> news:%...
>>>> this is very interesting, I wonder why is it that sometimes Windows
>>>> Explorer let you create as many nested folders as you want but then
>>>> dont let you move-copy the folders to another location. Anyways I need
>>>> IIS to be able to handle huge amount of nested folders and dont know
>>>> how can I prepend \\?\ in that case, is it possible?
>>>>
>>>>
>>>> <.> wrote in message news:...
>>>>> For a program to let windows know it can handle 32k paths it prepends
>>>>> \\?\ to file names when opening a file. You can do this too in CMD.
>>>>>
>>>>> copy "\\?\c:\somewhere very long\a very long file bame.txt"
>>>>> "\\?\d:\somewhereelse very long\a very long file bame.txt"
>>>>>
>>>>> <.> wrote in message news:%...
>>>>>> Vista, 2000, XP, etc all support 32000 character file names on NTFS.
>>>>>> However most programs can't so don't try to use them. Programs have
>>>>>> to be programmed to use the larger name length. And the limit is Max
>>>>>> Path 260 and Max Name 256 for most programs.
>>>>>> "Alejandro" <> wrote in message
>>>>>> news:...
>>>>>>> Hi, I posted this question some time ago with no luck, so I would
>>>>>>> like to give a try again in case there are new info about this. I
>>>>>>> would like to know the file name size limit in windows vista (or
>>>>>>> windows server 2003 if better). For NTFS the limit is 256 characters
>>>>>>> and this includes the whole path like
>>>>>>> c:\folder1\folder2\folder3....\folderN.
>>>>>>> I know Microsoft was working in a new file system and was planning
>>>>>>> to include it with Vista but later they removed the proyect from
>>>>>>> Vista, this file system was SQL-based and I suppose the limit for
>>>>>>> the file names would be greatly increased...but now I dont know.
>>>>>>> Any info?
>>>>>>> Thanks!
>>>>>>> Alejandro.
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>

>>
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximized WLM size - How to limit churin Windows Vista General Discussion 0 12-09-2007 01:37 AM
Groups in Contacts: Size Limit? sc_meteors Windows Vista Mail 1 10-31-2007 09:03 PM
Inbox Size Limit Andersony Windows Vista Mail 6 05-18-2007 12:28 PM
any way to limit size of 'junk e-mail' folder? invader@nospamforme.com Windows Vista General Discussion 6 05-11-2007 11:06 PM
File names size limit? Alejandro Windows Vista General Discussion 21 03-11-2007 08:42 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59