I need to rename a lot of files automatically, that have been copied over the network from a volume with macintosh namespace.
Some of them had a '/' in their filename which displays as a black box in the explorer.
When you read the list of filenames, this character display as '?'
The following methods did not work:
- SHFileOperation(..FO_Rename..) (returns Error 114).
These methods do work:
- the shell's ren command
- rename these files with the
Windows NT Explorer.
How do I rename files in code like the Windows explorer (probably something with IShellXXXX interface).