Difference between forward slash (/) and backslash (\) in file path
问题 I was wondering about the difference between \\ and / in file paths. I have noticed that sometimes a path contains / and sometimes it is with \\ . It would be great if anyone can explain when to use \\ and / . 回答1: / is the path separator on Unix and Unix-like systems. Modern Windows can generally use both \ and / interchangeably for filepaths, but Microsoft has advocated for the use of \ as the path separator for decades. This is done for historical reasons that date as far back as the 1970s