Microsoft KB Archive/133788

= DefaultDir$ and GetDirectory$ Return Lowercase Path =

Article ID: 133788

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Word 95 Standard Edition

-



This article was previously published under Q133788



SYMPTOMS
The 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.



CAUSE
This is a limitation of the WordBasic commands.



WORKAROUND
You 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.



STATUS
Microsoft 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.

Additional query words: word95 7.0 word7 winword

Keywords: KB133788

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.