in reply to Re^2: Path and File Name Maximum Lengths
in thread Path and File Name Maximum Lengths

Correct. It used to be that Perl supported (some) wide file apis, but they got dropped in order to support unicode on other platforms.

If you want to create a totally impractical path with 32k chars, compile and run this. (WARNING: It is a bitch to delete!)

#include <stdio.h> #include <windows.h> wchar_t path[ 32768 ] = L"\\\\?\\c:\\1234567890\\"; wchar_t name[] = L"1234567890\\"; int main( int argc, char **argv ) { while( CreateDirectoryW( path, NULL ) ) { wcscat( path, name ); }; printf( "Error %d\n", GetLastError() );; }

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy