What is the difference between \ and \\ in file path
Windows ignores double backslashes. So while the second syntax with \ is correct and you should use that one, the first with \\ works too. The only exception is double-backslash at the very beginning of a path that indicates a UNC path.See Universal Naming Convention. Though note that in many programming languages like C, C++, Java, C#, Python, PHP, Perl, … Read more