okay, I know what the problem is here. We are escaping backslashes but in fact windows doesn't escape backslashes that way. Windows escapes quotes with backslash but doesn't escape backslash. The correct solution is to escape \ into \\ but to still escape " into \".