There are (at least) four ways to handle spaces in paths and file names.
"~/my path/my file.epub"
Escape the spaces:
~/my\ path/my\ file.epub
Encode the spaces:
Quote the spaces:
~/my" "path/my" "file.epub
Sometimes, when connecting over ssh for instance, you may have to combine these methods. For instance double-escape the spaces.
Edit: Rereading your question I realise that I don't actually answer your question. Sorry about that.
Last edited by Adoby; 01-13-2013 at 06:34 PM.