Thanks for sharing your solution! I was going to dive into my notes about UNC paths in command files, but I'm not sure what sCommand is in your code. Then I suspected the spaces in your path needed hard coded quotes around it (inside the quotes used to assign the string to the variable) so that it becomes
"S:\Workgroups\Information Resources\Validation" and not
S:\Workgroups\Information Resources\Validation\
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.