Hey Martin,
Escaping spaces works perfectly fine, but it is disparagingly referred to as the leaning-toothpick method – because it's labor intensive and hard to read.
I made a macro to make this easier. (Make sure to see the second one in the thread as well.)
Single-Quote a POSIX Path String or Tilde-Based POSIX Path String
-Chris