Quoting the best comment, "echo test | type CON or echo test | type CONIN$ will read from the console, not from stdin."