For instance, I find myself pasting paths like this regularly:
file:///D:\Some%20path%20containing%20spaces\File%20name.ext
Some suggestions:
- trim any surrounding spaces (this already works!)
- replace any slashes by backslashes (this already works!)
- remove any surrounding double quotes (see http://forum.altap.cz/viewtopic.php?f=3&t=3977)
- ignore any file:/// prefix (no it's NOT a plugin file system!)
- if the target (of Ctrl+V) doesn't exist, retry after replacing every %20 with a space (or maybe even interpret all URL encoding)