"FileNameMap" Format

The "FileNameMap" format is used with the CF_HDROP clipboard format to rename a list of files that are copied to a new location during a copy and paste operation or a drag and drop operation. Data in the "FileNameMap" format consist of a double-null terminated list of filenames that correspond to the filenames in the CF_HDROP data. When the files listed in the CF_HDROP data are copied to the new location, the files receive the new names specified in the "FileNameMap" data. For example, if the CF_HDROP data contains two files with the names c:\temp.000 and c:\temp.001, the "FileNameMap" data contains the following list of filenames.

"new.txt\0another.txt\0\0"

If the files are copied to c:\target, they receive the following names.

c:\target\new.txt(was c:\temp.000)

c:\target\another.txt(was c:\temp.001)

The system stores files in the recycle bin using a coding system for the filenames (dcxxxx.ext). When the user drags or copies files from the recycle bin, the system uses the filenames specified in the "FileNameMap" format to rename the files.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database