This article was previously published under Q87273
This article has been archived. It is offered "as is" and will no longer be updated.
When you try to create a directory or copy files in the Microsoft Windows3.1 File Manager, you may receive the following error message:
Access Denied. Make sure the disk is not full or write-protected.
If you are using Windows 3.0, the following message appears:
Cannot create directory.
These error messages can occur when any of the following conditions exist:
There is a file in the current directory with the same name as the directory that you are attempting to create. You can verify this with the File Manager Search command.
You try to copy files and the destination path exceeds 63 characters.
You try to rename a file that is being used by an application that uses SHARE.EXE or VSHARE.386.
You have 512 files in the root directory of the hard disk.
To work around these errors, rename the file or directory that you areattempting to create, or copy the files to another location. You may alsobe able to work around these errors if you remove unnecessary files fromthe root directory.
You may encounter this error message if you try to create a directory whosepath exceeds 63 characters. Windows follows the MS-DOS convention thatlimits the length of a subdirectory path to 63 characters.
The maximum length of any subdirectory path cannot exceed 63 bytes,measured from the beginning of the first name to the end of the last name(excluding slashes in front or at the end of the PATH statement). MS-DOSfunction call 47H (Get Current Directory) requires a 64-byte buffer inmemory to return the current directory path. The returned path is notpreceded by a backslash, but it is terminated by a 0. Therefore, MS-DOSallows 32 nested levels if each subdirectory name is one letter long. Ifpath exceeds 63 characters, an error message is displayed.