The Windows filesystem layers understand the slash as a path separator. It wouldn't be bad to use path-handling functions, but it's not critical.