PRB: Error in Delta Output Window When Add Directory to Proj

ID: Q131863

The information in this article applies to:

  • Microsoft Delta for Windows, version 1.0

SYMPTOMS

An error message is displayed in the Delta output window when you add a directory to the project. The message appears as:

   Error: Too many characters in path.
   \NEWDIR2\MYDIR\GETLONGR\GETLONGR\GETLONGR
   One or more errors have occurred.

CAUSE

An MS-DOS command can contain up to 256 characters in length. Every Delta command is actually an MS-DOS command, so this limitation can restrict how long an MS-DOS directory path can be.

RESOLUTION

Use either of the following two solutions:

  • Create a directory structure with shorter directory names.

    -or-

  • If the master project directory is located on a network and absolute master project directory names are being used, follow these steps:

    1. Map the path to a drive letter such as S:.

    2. Add a command to set LOCALDRIVES=<defined drive letters> in the

          Autoexec.bat file.
    

MORE INFORMATION

There are a variety of other error messages that may also be displayed because of this directory path length limit. Always make sure your directory path is reasonably short.

Additional reference words: 1.00 KBCategory: kbprg kbprb KBSubcategory: Delta


Last Reviewed: June 26, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.