Files$() Truncates Paths Longer Than 255 Characters

ID: Q121934

The information in this article applies to:

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:

KBCategory: kbprg kbmacro KBSubcategory: Additional reference words: 6.0 ntword wordnt macro word6 winword 6.0a 6.0c 7.0 word95 word7

Keywords          : kbmacro kbprg
Version           : 6.0 6.0a 6.0c 7.0
Platform          : NT WINDOWS

Last Reviewed: August 5, 1997