VBA for command prompt

VBA for command prompt

Hi
I need a VBA code to call multi command in telnet in Zenon
Ex : Call cmd.exe
Call Sendkeys ( Telnet x.x.x.x)
Wait time...
Call Sendkeys (Enter)
..
Call User
Call Password

But It can not work , It stop in Dos window and not send and keys after click button call VBA
Could you give me some solution?
Sorry because I am not good about VBA or coding.

This is a migrated post! Originally posted on 02.05.2018 by user mytom. Please be aware that information can be outdated.