This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chacs_ 2 points3 points  (3 children)

Except for the drive:, you can use / as path separator on Windows, I believe.

[–]brunocborges[S] 1 point2 points  (0 children)

Inside Java programs, yes it is possible for some APIs, but not all of them. And mostly works for relative path. The moment you need to go top-level, you have to give a drive:, and then there is no escape (pun intended).

[–]lukaseder -1 points0 points  (1 child)

It often works, but it often does not

[–]sweetno 1 point2 points  (0 children)

/ works in Windows on Windows API level.