I understand the maximum length for a filename in Windows is 256 ... true ?
Is there any way around this ? Certainly people have need for apps that
use longer filenames, no ?
Any shells for Windows that somehow get around this problem ?
I understand the maximum length for a filename in Windows is 256 ... true ?
Is there any way around this ? Certainly people have need for apps that
use longer filenames, no ?
Any shells for Windows that somehow get around this problem ?
"John A Grandy" <johnagrandy-at-gmail-dot-com> wrote in message
news:exGIejxLJHA.1156@TK2MSFTNGP05.phx.gbl...
>I understand the maximum length for a filename in Windows is 256 ... true ?
>
> Is there any way around this ? Certainly people have need for apps that
> use longer filenames, no ?
>
> Any shells for Windows that somehow get around this problem ?
>
AFAIR, the limit is 260 characters. Some utilities (e.g. robocopy) are not
subject to it. I'm not aware of any shells that get around it.
"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:ukqZrA1LJHA.740@TK2MSFTNGP03.phx.gbl...
>
> "John A Grandy" <johnagrandy-at-gmail-dot-com> wrote in message
> news:exGIejxLJHA.1156@TK2MSFTNGP05.phx.gbl...
>>I understand the maximum length for a filename in Windows is 256 ... true
>>?
>>
>> Is there any way around this ? Certainly people have need for apps that
>> use longer filenames, no ?
>>
>> Any shells for Windows that somehow get around this problem ?
>>
>
> AFAIR, the limit is 260 characters. Some utilities (e.g. robocopy) are not
> subject to it. I'm not aware of any shells that get around it.
>
I thought it was 255 characters.
"Bill Grant" <not.available@online> wrote in message
news:ez2F212LJHA.1500@TK2MSFTNGP06.phx.gbl...
>
> I thought it was 255 characters.
You made me curious, so I ran a quick test. Here is the longest folder+file
name I managed to create:
D:\aaaaaaaaaabbbbbbbbbbcccc0\aaaaaaaaaabbbbbbbbbbcccc1\aaaaaaaaaabbbbbbbbbbcccc2\aaaaaaaaaabbbbbbbbb bcccc3\aaaaaaaaaabbbbbbbbbbcccc4\aaaaaaaaaabbbbbbbbbbcccc5\aaaaaaaaaabbbbbbbbbbcccc6\aaaaaaaaaabbbbb bbbbbcccc7\aaaaaaaaaabbbbbbbbbbcccc8\123456789012345678.txt
It's 259 characters long.
So , like I said , the max length for a filename alone is 256 ...
"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:O2zCCN3LJHA.5660@TK2MSFTNGP03.phx.gbl...
>
> "Bill Grant" <not.available@online> wrote in message
> news:ez2F212LJHA.1500@TK2MSFTNGP06.phx.gbl...
>>
>> I thought it was 255 characters.
>
> You made me curious, so I ran a quick test. Here is the longest
> folder+file name I managed to create:
> D:\aaaaaaaaaabbbbbbbbbbcccc0\aaaaaaaaaabbbbbbbbbbcccc1\aaaaaaaaaabbbbbbbbbbcccc2\aaaaaaaaaabbbbbbbbb bcccc3\aaaaaaaaaabbbbbbbbbbcccc4\aaaaaaaaaabbbbbbbbbbcccc5\aaaaaaaaaabbbbbbbbbbcccc6\aaaaaaaaaabbbbb bbbbbcccc7\aaaaaaaaaabbbbbbbbbbcccc8\123456789012345678.txt
> It's 259 characters long.
>
Well no, it's 255. .txt is four characters.
"John A Grandy" <johnagrandy-at-gmail-dot-com> wrote in message
news:#LSaPx7LJHA.5692@TK2MSFTNGP04.phx.gbl...
> So , like I said , the max length for a filename alone is 256 ...
>
>
> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> news:O2zCCN3LJHA.5660@TK2MSFTNGP03.phx.gbl...
>>
>> "Bill Grant" <not.available@online> wrote in message
>> news:ez2F212LJHA.1500@TK2MSFTNGP06.phx.gbl...
>>>
>>> I thought it was 255 characters.
>>
>> You made me curious, so I ran a quick test. Here is the longest
>> folder+file name I managed to create:
>> D:\aaaaaaaaaabbbbbbbbbbcccc0\aaaaaaaaaabbbbbbbbbbcccc1\aaaaaaaaaabbbbbbbbbbcccc2\aaaaaaaaaabbbbbbbbb bcccc3\aaaaaaaaaabbbbbbbbbbcccc4\aaaaaaaaaabbbbbbbbbbcccc5\aaaaaaaaaabbbbbbbbbbcccc6\aaaaaaaaaabbbbb bbbbbcccc7\aaaaaaaaaabbbbbbbbbbcccc8\123456789012345678.txt
>> It's 259 characters long.
>>
>
>
Heh ...
I am interested in the max filename length including any suffix.
I don't think it's reasonable to not include the suffix in the length --
there is no requirement that a filename include a suffix.
My tests show that :
filename max length = 256
filepath max length = 259
"Bill Grant" <not.available@online> wrote in message
news:emkbSUAMJHA.1156@TK2MSFTNGP04.phx.gbl...
> Well no, it's 255. .txt is four characters.
>
> "John A Grandy" <johnagrandy-at-gmail-dot-com> wrote in message
> news:#LSaPx7LJHA.5692@TK2MSFTNGP04.phx.gbl...
>> So , like I said , the max length for a filename alone is 256 ...
>>
>>
>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>> news:O2zCCN3LJHA.5660@TK2MSFTNGP03.phx.gbl...
>>>
>>> "Bill Grant" <not.available@online> wrote in message
>>> news:ez2F212LJHA.1500@TK2MSFTNGP06.phx.gbl...
>>>>
>>>> I thought it was 255 characters.
>>>
>>> You made me curious, so I ran a quick test. Here is the longest
>>> folder+file name I managed to create:
>>> D:\aaaaaaaaaabbbbbbbbbbcccc0\aaaaaaaaaabbbbbbbbbbcccc1\aaaaaaaaaabbbbbbbbbbcccc2\aaaaaaaaaabbbbbbbbb bcccc3\aaaaaaaaaabbbbbbbbbbcccc4\aaaaaaaaaabbbbbbbbbbcccc5\aaaaaaaaaabbbbbbbbbbcccc6\aaaaaaaaaabbbbb bbbbbcccc7\aaaaaaaaaabbbbbbbbbbcccc8\123456789012345678.txt
>>> It's 259 characters long.
>>>
>>
>>
Bookmarks