How do you connect to a pc using a cmd?

i have the ip address and my friend told me a way better way other than telnet but i forgot the command please tell me in you know
4 answers