Microsoft KB Archive/121934

{|
 * width="100%"|

Files$ Truncates Paths Longer Than 255 Characters

 * }

Q121934

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
 * Microsoft Word for Windows, version 7.0

-

SYMPTOMS
The WordBasic Files$ function truncates file paths that are longer than 255 characters.

CAUSE
The internal buffer used by the Files$ WordBasic function is limited in size to 255 characters. Any path that is longer than 255 characters will be truncated.

WORKAROUNDS
To prevent the truncation of the file paths, use one of the following methods:


 * Move the location of the files being used
 * Shorten the directory names to reduce the length of the path to fewer than 255 characters.

Additional query words: 6.0 ntword wordnt macro word6 winword 7.0 word95 word7

Keywords :

Issue type :

Technology :