Comments on: File and Directory Names in Java: File, Path, Paths https://www.happycoders.eu/java/file-and-directory-names-file-path-paths/ Fri, 29 Nov 2024 11:35:18 +0000 hourly 1 By: Karl Brodowsky https://www.happycoders.eu/java/file-and-directory-names-file-path-paths/#comment-35798 Thu, 17 Oct 2024 17:02:28 +0000 https://www.happycoders.eu/?p=9211#comment-35798 It is a common mistake to assume that file separator has to be \ in Windows. Actually Windows understands both / and \ up to even the low level libraries, it is just blocked by some applications, like cmd or Explorer. So when working in C, Java, Perl, Ruby, Scala or whatever, you can always name files and directories with / as separator, so it works everywhere.

]]>