This article was previously published under Q177665
Windows 95 and Windows NT 4.0 clients can expand a server directorystructure beyond MAX_PATH (256 characters) by accessing a server share andcreating directories and files through the network.
As a result, a server running Windows NT 4.0 returns the followingerror message if the server administrator tries to access these files ordirectories locally on the server through Windows NT Explorer:
Can't access this folder. Path is too long.
If you attempt to create a new folder, you may receive the following error message:
Unable to create the folder '<name>'. The filename or extension is too long.
A server running Windows NT 3.51 shows unexpected results in FileManager such as a general protection fault (GP fault), WINFILE crash, ordisplay of nonexistent directories.
Several tools and programs may also show problems when working with thisdirectory structure that exceeds MAX_PATH.
Win32 programs are limited to a 256-character string size limit because ofthe MAX_PATH variable. Software programs can work around this problem bypassing Win32 a path that is MAX_PATH or less. The real underlying path canthen be accessed independently of the real length of the path. In this way,a program can access files or directories beyond MAX_PATH on the server.
To resolve problems when the directory structure exceeds MAX_PATH, useeither of the following methods:
On the server that contains the long directory structure, access these files and folders through a local redirection ("net use" or "subst") of the same share/folder that the network clients access across the network.
In Windows NT Explorer, select the folder one level above the folder that returns the error. Right-click the folder returning the error and then click Rename. Rename the folder to reduce the number of characters used in the folder name.
The problem described above could not be reproduced with NTBACKUP and filesand directories that were beyond the MAX_PATH limit could be backed up andrestored successfully.
User Interface explore
رقم الموضوع: 177665 - آخر مراجعة: 10/31/2006 19:04:10 - المراجعة: 1.3
Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 3.51, Microsoft Windows NT Server 4.0 Standard Edition, Microsoft Windows XP Professional, Microsoft Windows XP Home Edition, Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows 2000 Datacenter Server, Microsoft Windows Advanced Server, Limited Edition, Microsoft Windows Datacenter Server Limited Edition, Windows Vista Home Basic 64-bit Edition, Windows Vista Home Premium 64-bit Edition, Windows Vista Ultimate 64-bit Edition, Windows Vista Business, Windows Vista Business 64-bit Edition, Windows Vista Enterprise, Windows Vista Home Premium, Windows Vista Ultimate, Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86), Microsoft Windows Server 2003 R2 Datacenter x64 Edition, Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86), Microsoft Windows Server 2003 R2 Enterprise x64 Edition, Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86), Microsoft Windows Server 2003 R2 Standard x64 Edition, Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems, Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems, Microsoft Windows Server 2003, Standard Edition (32-bit x86), Microsoft Windows Server 2003, Datacenter Edition (32-bit x86), Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Small Business Server 2003 Premium Edition