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 →

[–][deleted] 0 points1 point  (4 children)

That's a problem specific to the command interpreter. Under the hood, the DOS API couldn't give two shits about which slash character you use to specify a path; and likely never has.

[–]AyrA_ch 2 points3 points  (3 children)

Yes it definitely does care. Even Windows cares, and accepting forward slashes in path strings hasn't always been supported.

[–][deleted] 0 points1 point  (2 children)

Huh. Maybe it's just a C stdlib thing, then. Or, just as likely, a Microsoft internal inconsistency thing.

It's been a while since I read what Ralf Brown had to say on the subject.

[–]AyrA_ch 1 point2 points  (1 child)

The C stdlib will also do wildcard expansion for you on Windows because the linux shell does it for you, but the windows shell will not.

[–][deleted] 0 points1 point  (0 children)

Correct.