Hacker News new | ask | show | jobs
by 2Xheadpalm 3744 days ago
Supported, just but it's a second class citizen, for example, no tab completion of directories on the cmd prompt when using forward slash. Some commands will not except it;

e.g. type c:\home\foo.txt -> cats it out type c:/home/foo.txt -> 'The syntax of this command is incorrect.'

whereas cd will except either forward or backslash

cd c:\home/foo cd c:/home/foo

work as expected.

2 comments

Firstly I was talking about API support. Since that is the topic at hand.

Secondly, Cmd is deprecated. Powershell supports both slashes and "type c:/home/foo.txt" works perfectly.

But Powershell redirects < and > either don't work or can corrupt your files
A) That's only one direction, the other way doesn't work

B) Even going that direction, at times it corrupts the data

Just use Powershell, it will work as expected.