|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
max length filename
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 ? |
#2
| |||
| |||
Re: max length filename "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. |
#3
| |||
| |||
Re: max length filename "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. |
#4
| |||
| |||
Re: max length filename "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. |
#5
| |||
| |||
Re: max length filename
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. > |
#6
| |||
| |||
Re: max length filename
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. >> > > |
#7
| |||
| |||
Re: max length filename
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. >>> >> >> |
![]() |
|
Tags: filename, length, max |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
To get Filename for jsp Page on URl | p_g | Software Development | 1 | 27-10-2011 02:22 PM |
Convert String to filename | Maya Angelou | Software Development | 5 | 12-03-2010 01:20 PM |
Excel filename too large | munkey79 | Windows Software | 2 | 09-07-2009 04:24 PM |
PXE-E53: No boot filename received | Jisbomb | Windows XP Support | 3 | 14-04-2009 07:43 AM |
PXE-E53 No boot filename received | notagirrafe | Windows Server Help | 3 | 13-06-2008 01:58 AM |