8 ms·
> Looks like early DOS supported both? Yes, according to http://blogs.msdn.com/b/larryosterman/archive/2005/06/24/432386.aspx http://blogs.msdn.com/b/larryoste
by ttctciyf 13y ago
> Looks like early DOS supported both?
Yes, according to http://blogs.msdn.com/b/larryosterman/archive/2005/06/24/432386.aspx http://blogs.msdn.com/b/larryosterman/archive/2005/06/24/432... which says:
> they coded the OS to accept either "/" or "\" character as the path character (this continues today, btw - try typing "notepad c:/boot.ini" on an XP machine (if you're an admin)). And they went one step further. They added an undocumented system call to change the switch character. And updated the utilities to respect this flag.
> And then they went and finished out the scenario: They added a config.sys option, SWITCHAR= that would let you set the switch character to "-".
> Which flipped MS-DOS into a *nix style system where command lines used "-switch", and paths were / delimited.