PRB: File Names Truncated When Using SHFileOperation (186152)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 2000
This article was previously published under Q186152 SYMPTOMS
When you use SHFileOperation to copy or move files, the destination file
names are truncated to the 8.3 file name format. For example, the file name
"New Document.temp" will be truncated to "NewDocum.tem".
CAUSE
The default behavior of SHFileOperation causes this problem. This behavior
only occurs when you use a relative path for the destination.
RESOLUTION
Use a full path instead of a relative path for the destination.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbprb KB186152 |
---|
|