DefaultDir$() Function Always Returns Path in Lowercase |
Q121966
The Files$(".") function in Word 6.0x for Windows 3.1x 16 bit always returns in Upper Case and the DefaultDir$(n), where n is from 1 to 15, always returns lower case. Word 7.0 running under Windows 95 also returns all lower case when using DefaultDir$(), however, Files$(".") will return the correct case of the current directory.
Microsoft has confirmed this to be a problem in Word version 6.0 for Windows NT. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
To return a path in the proper case, use Files$(".") in place of
DefaultDir$(0).
For DefaultDir$(n) functions, where n is from 1 to 15, there is no easy
workaround available.
Additional query words: 6.0 nt ntword wordnt defaultdir defaultdir$ winword 7.0 word95 word7 defaultdir$() files$ files$() files function command wordbasic word basic macro path lowercase lower case uppercase upper incorrect mixed word6
Keywords : kbmacro
Issue type :
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |