You have a couple options.
One way, as you suggested, is to enclose the entire file name in quotes:
"/Applications (Mac OS 9)"
If you want to enclose wildcards in the file name, like * or ?, then quotes
may cause problems, depending on the shell you're using in Terminal. For example:
ls...