I was created a .bat
file to run PuTTY and it successfully runs. The problem now is, the command line I was key in were not executed, any solution for this?
My .bat
command is:
putty -telnet -P 15555 test-PC -m C:\Users\tslai\Desktop\commands.txt
I'm connecting using Telnet, and I have a specific port number, which is 15555, the server name's is test-PC. commands.txt
is the arguments that I make.
In commands.txt
: only have a arguments, and it was tested can work properly if running directly by using command prompt.