DefaultDir$() and GetDirectory$() Return Lowercase PathLast reviewed: February 6, 1998Article ID: Q133788 |
The information in this article applies to:
SYMPTOMSThe DefaultDir$() and GetDirectory$() functions in WordBasic both return a path in all lowercase letters instead of mixed-case letters, which is supported by Windows 95 and Windows NT.
CAUSEThis is a limitation of the WordBasic commands.
WORKAROUNDYou can convert the path into all uppercase characters by using the UCASE$() function. For example, the following function returns C:\MSOFFICE\TEMPLATES:
MsgBox UCase$(DefaultDir$(1))There is no direct way to return the mixed-case form of the paths.
STATUSMicrosoft has confirmed this to be a problem in Word for Windows 95 version 7.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
KBCategory: kbmacro buglist7.0
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |