RE: Can't copy from newly added workstation - " path is to deep"

From: Shilpa Sinha [MSFT] (v-shilsi_at_microsoft.com)
Date: 04/14/04


Date: Wed, 14 Apr 2004 10:46:19 GMT

Hi

This information is on the error mentioned by you but encountered while
deleting or renaming. It may be of help

SYMPTOMS
========
When you attempt to open, delete, or rename a folder using Windows NT
Explorer or File Manager, you may receive one of the following error
messages:-
                Cannot delete folder - path too Deep
                Can't access this folder.
                
                   Path is too long
Some third-party anti-virus and tape backup programs may be unable to
access files or folders with paths that are too long.

CAUSE
=====
This problem can occur if the path to the file or folder is longer than the
file system can accommodate. For example, this problem may occur if you
connect a drive to a share and then create a path over 255 characters to
the share.

RESOLUTION
==========
To work around this issue, you can use the SUBST command to associate a
drive letter with the long path to access the file or folder. To do so,
follow these steps:
1. At a command prompt, change to the parent folder containing the file or
folder you are attempting use.
2. To assign a drive letter to the location, type the following command
"subst <drive>: ." (without the quotation marks) where <drive> is an
available drive letter and "." is a period, indicating the current folder.
3. Type "exit" (without the quotation marks), and then press ENTER.

NOTE: You can remove the virtual drive letter by typing "subst <drive>:/d"
(without the quotation marks) at a command prompt.

You can also work around this issue by connecting recursively to the share
on the server and using a drive letter to point to the share.

MORE INFORMATION
================
The hard disk's file system determines the maximum number of characters in
the path to a file or folder from the Win32 API variable MAX_PATH. The File
Allocation Table (FAT) for MS-DOS, Protected-Mode FAT (VFAT) for Windows
95, and NT File System (NTFS) file systems are usually limited to 255
characters in a path.

Shilpa Sinha
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • Re: Folder that cant be deleted
    ... recovery console but be advised that chkdsk will attempt to repair ... the file system possibly at the expense of the files themselves. ... type these commands from a Command Prompt: ... I dragged the folder into the Command Prompt. ...
    (microsoft.public.win2000.general)
  • RE: Drive mappings on clustered servers
    ... the information you gave me is what I needed to redo the folder share ... > It sounds like the problem you're experiencing occurs, because drive letter ... > letter mapping for the physical disk. ... > the physical disk resource is the quorum resource, the Cluster service may ...
    (microsoft.public.windows.server.clustering)
  • Re: IncludePicture Problem on Merge to New Document
    ... I suppose the type of folder that Y: is assigned to may also make a difference, although I have no way of testing that. ... There could I suppose be different behaviour if the drive letter is mapped to a Netware path, a Microsoft DFS path. ... "Peter Jamieson" wrote in message ... You can also try P:/Portage (and yes, with forward slashes it would be a single slash). ...
    (microsoft.public.word.mailmerge.fields)
  • RE: Saving to Intranet Site
    ... and then save the file to the drive letter assigned. ... However I would like to automate the creation of new folder names, ... Sub TestDir() ...
    (microsoft.public.excel.programming)
  • Re: Mapping a local folder to drive letter
    ... >Unlike my NT and 2K machines, on my XP Pro machine I'm having trouble mappng a drive letter to a folder shared on it's local hard drive. ... Click "Add Hardware". ... Click Microsoft Loopback Adapter ...
    (microsoft.public.windowsxp.network_web)