Hi,
What OS are you using?
The task scheduler will still continue to run when the path has spaces in it.
I do not recall when Microsoft changed this, but I can confirm, at least on my test machine, that this works OK with and without spaces in the path.