The developers used ‘/’ for flags. Then, when DOS 2.0 added directories, ‘/’ was already taken, so they used backslash for the directory separator.