A
A
Andrew2017-07-12 12:15:10
cmd/bat
Andrew, 2017-07-12 12:15:10

How to end a CMD command?

How to terminate command when sending AT commands to modem using plink? You can start typing a new one only after pressing Ctrl + C. I tried with a bat file - the result is the same. The following commands after "echo at......." are not executed. It is impossible to send an AT command directly without plink - CMD does not see the modem (usb2com). But through HypyrTerm or PuTty everything is ok.030fdf142af249759463f58886307db4.png5ef1a07351de44a39ecd4abd56cad10c.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-07-12
@NeiroNx

It may be worth executing in a separate thread with its command

start "echo at+csq | plink -serial com9"
timeout 10
taskkill /im plink.exe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question