PC MAPI: MAPISendDocuments Removes Spaces in FilenamesLast reviewed: March 31, 1995Article ID: Q128370 |
The information in this article applies to:
SYMPTOMSThe Simple Messaging Application Programming Interface (MAPI) function MAPISendDocuments, which is included with Microsoft Mail for PC Networks, handles file names with space characters incorrectly. File names with spaces are fairly common on advanced file systems, such as NTFS. MAPISendDocuments actually removes the spaces and truncates the file name. When you attempt to pass a file name with spaces in it MAPISendDocuments will display the following error,
The file "XXXXXXXX" could not be accessedwhere XXXXXXX is the file name (with spaces omitted).
WORKAROUNDAll files passed to MAPISendDocuments should not contain space characters. If you do have some files with spaces, rename the file to remove the spaces. NOTE: Some development tools have functions that will convert the filename to a standard MS-DOS 8.3 format. In Microsoft VC++ version 2.0, the function GetShortPathName will convert the filename.
STATUSMicrosoft has confirmed this to be a problem with versions 3.0 and 3.2 of Microsoft Mail for PC Networks. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional reference words: 3.00 3.20
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |