in reply to CWD to directory which name contain spaces

Are you sure you shouldn't be using forward slashes (/) instead of backward slashes (\)?
Sorry if my advice was wrong.