Paths/Folders that have spaces *ALWAYS* need to be in quotes, so that they can be accepted as a "single parameter", otherwise (and this is true for any executable), it is assumed that the part after the space is a 2nd parameter.
Dir c:\My Directory\
is expected to be a "dir c:\My" with an additional parameter of "Directory\".
This is normal Windows syntax, and a rule of any executable to make sure that a "single string" can be properly identified even when there's seperators.
It's one of the many reasons why I *STRONGLY* advise not to use either seperators (spaces) or any other special signs (other than a "_" underline) in paths\directory structures that are involved in OSD - because it helps prevent such issues from cropping up.
- Paul Hoffmann
LANDesk EMEA Technical Lead