M
M
MeDioH2020-05-25 16:33:46
Command line
MeDioH, 2020-05-25 16:33:46

How to create a bat file correctly? Sending an at request?

Hello everyone)
I send AT requests to the usb modem via the command line.
The code looks like

copy con com8 (Enter)
AT^SYSCFG=2,2,3fffffff,0,1 (Enter)
^Z (Enter)

Everything works in manual mode. I tried to write this code in a bat file, but only the first line is executed.
Please help me create a bat file that would execute this code.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MeDioH, 2020-05-25
@MeDioH

In general, I set up the transfer of parameters through PuTTY, thanks to everyone for the suggested options

A
Alexander, 2020-05-25
@NeiroNx

ECHO AT^^SYSCFG=2,2,3fffffff,0,1>>COM8

I
Igor, 2020-05-25
@DMGarikk

first you need to understand what these commands do
write one line instead of your three
echo AT^SYSCFG=2,2,3fffffff,0,1 > com8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question