in reply to Re^3: Path and File Name Maximum Lengths
in thread Path and File Name Maximum Lengths
Where you perchance operating within a subdirectory when trying this? A subdirectory with a path that itself contains 248-219 = 19 characters?
This is a similar (but simpler) experiment conducted in the root of a drive:
>perl -E"say($_), mkdir '1'x$_ or die $^E for 240 .. 255" 240 241 242 243 244 245 The filename or extension is too long at -e line 1. >dir 1* Volume in drive C has no label. Volume Serial Number is 8C78-4B42 Directory of c:\ 14/06/2010 16:32 <DIR> 1111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +11111111111111111111111111111111111111111111111111111111111111111111 14/06/2010 16:32 <DIR> 1111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 14/06/2010 16:32 <DIR> 1111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +1 14/06/2010 16:32 <DIR> 1111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +11 14/06/2010 16:32 <DIR> 1111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111111111111111111111111111111111111111111111111111111111111111111111 +111 0 File(s) 0 bytes 5 Dir(s) 363,706,941,440 bytes free
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Path and File Name Maximum Lengths
by merrymonk (Hermit) on Jun 14, 2010 at 18:54 UTC | |
by BrowserUk (Patriarch) on Jun 14, 2010 at 19:04 UTC |