Hacker News new | past | comments | ask | show | jobs | submit login

Because it isn't the correct answer.

Many applications assume \ and deal with paths directly, instead of using the Windows APIs for path manipulation.

This means the moment your application gives a / to another application, there is a high probability that it will break, regardless of what the Windows API supports.

Even cmd doesn't handle / properly.




I know, you will notice I said above "the correct answer [...] gets down-voted", I was not suggesting using forward slash was the way to go.

You can take it as a side criticism of how things are turning sour on stackoverflow with "popular" being more valuable that "right", I guess.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: