Why does Windows really use backslash as path separator?

More or less anyone using modern PCs has to wonder: why does Windows use backslash as a path separator when the rest of the world uses forward slash? The clear intermediate answer is “because DOS and OS/2 used backslash”. Both Windows 9x and NT were directly or indirectly derived from DOS and OS/2, and certainly inherited much of the DOS cultural landscape.

That, of course, is not much of an answer. The obvious next question is, why did DOS use backslash as a path separator? When DOS 2.0 added support for hierarchical directory structure, it was more than a little influenced by UNIX (or perhaps more specifically XENIX), and using the forward slash as a path separator would have been the logical choice. That’s what everyone can agree on. Beyond that, things get a bit muddled.

A fascinating bit of sleuthing, and the author comes to an interesting theory. What’s fascinating to me is that I don’t even consciously realise the MS-DOS is the odd one out here – I just adapt to it without even thinking about it.

19 Comments

  1. 2019-05-25 12:21 pm
    • 2019-05-25 1:45 pm
      • 2019-05-25 5:32 pm
        • 2019-05-26 2:41 pm
          • 2019-05-28 3:08 am
          • 2019-06-06 6:55 am
    • 2019-05-25 9:40 pm
    • 2019-05-26 2:35 pm
  2. 2019-05-25 12:33 pm
    • 2019-05-26 3:40 pm
  3. 2019-05-25 5:03 pm
    • 2019-05-25 8:50 pm
      • 2019-05-26 9:13 am
        • 2019-05-27 1:19 pm
          • 2019-05-27 9:56 pm
          • 2019-06-06 6:46 am
  4. 2019-05-26 10:16 am
  5. 2019-05-29 10:22 am
  6. 2019-06-01 9:20 am