That explains why you don't have error on Windows 7: the path quoted only in the case it contains spaces.
That explains why you don't have error on Windows 7: the path quoted only in the case it contains spaces.