Research Windows RPC but be aware I can't teach that here. I can only tell you that it's unlike Linux or DOS. Those commands and what responds will have an entirely new and to those that don't use, confusing syntax.
Bob