Yeah, it does.
Windows uses the backslash to separate directories.
But in nearly all programming languages the backslash is used to "escape" a certain "control" character. But most \<character>s are not control characters (such as newline/linefeed which is \n). So to escape the \ you prepend it with another \
It's a tick of mine to turn backslashes into forward slashes (/), mostly because the browser also does that, and it makes more sense (for me) at that.