Dec 112017
 
Send modems commands from the DOS prompt. Very helpful in batch files.

Full Description of File


ATSEND 1.8 by Joseph Sheppard. Sends "AT"
commands to Hayes compatable modems from DOS
or Batch file. Supports configurable
non-standard COM ports. Includes a program
to write batch files for ATSEND quickly and
easily. This update disables the time-out
feature making it suitable as a telephone
dialer. Shareware $10.00.


File ATSEND18.ZIP from The Programmer’s Corner in
Category Communications
Send modems commands from the DOS prompt. Very helpful in batch files.
File Name File Size Zip Size Zip Type
ATBATCH.EXE 5872 3504 deflated
ATSEND.DOC 7121 2955 deflated
ATSEND.EXE 17264 10883 deflated
ATSEND.NEW 2848 1380 deflated
FILE_ID.DIZ 332 239 deflated
HEX2DEC.EXE 4064 2786 deflated

Download File ATSEND18.ZIP Here

Contents of the ATSEND.DOC file



ATSEND V1.8
(Formerly AT.EXE)
By Joseph Sheppard, Sysop, The Ledge PCBoard - (818) 896-4015



DESCRIPTION


ATSEND.EXE allows users to send "AT" commands to Hayes compatible modems
from the DOS command prompt, or from batch files.

ATSEND.EXE does not need a DTR utility to make it work. DTR is handled
directly by ATSEND.

ATSEND.EXE follows the DSZPORT= setting if it's found in the DOS
environment.

ATSEND.EXE works with non-standard COM ports via environment
variables COMBASE and COMIRQ.

ATSEND.EXE can be used to dial a telephone. It is small enough
to be shelled out to by most database programs to create dialing
routines.

ATSEND.EXE is written with Borland's Turbo Pascal using communication
routines from Prokit, (c) Samuel Smith.

ATSEND.EXE is not "Free Software". If you use it for more than
30 days, registration is required. See the section titled
"Registration" in this document.


HOW IT WORKS


To send a command to the modem, the user runs ATSEND.EXE by
typing ATSEND at the DOS command prompt followed by the command to be sent
to the modem, and the port the modem is connected to.

The default port is COM1 at standard address 3F8/IRQ4, so if your modem is
attached to COM1 then you don't need to specify a port on the command line,
or put it in the DOS environment using the DSZPORT variable.

If your modem is connected to COM2 at standard address 2F8/IRQ3, then you
will always need to follow the command to be sent with the number 2, or
have DSZPORT=2 in your DOS environment. Non-Standard COM Ports are
supported and explained later in this document.

An environment variable called ATOK is used to disable the
time-out routines. This is useful when ATSEND is to be used to
dial a telephone. To keep the modem from waiting for the modem
to return an "OK" place ATOK=NO in your environment.


EXAMPLES


ATSEND H1 (Take modem connected to COM1 off the hook)

ATSEND H1M0 2 (Take modem connected to COM2 off hook and turn-off
speaker)

ATSEND M1DT18188964015 (Tell modem connected to COM1 to dial
1-818-896-4015). Use the ATOK environment
variable when using ATSEND to dial a
telephone.

ATSEND Z 2 (Perform a reset on the modem connected to COM2)

To use the DSZPORT variable, and avoid having to type the port
number on the command line, put the following line in your
AUTOEXEC.BAT file: SET DSZPORT=. For example, if you are
using COM2:

SET DSZPORT=2


NON-STANDARD PORT SETTINGS:


ATSEND works with standard and non-standard serial port configurations.
Here are the defaults:

Port Base Address IRQ

COM1 3F8 IRQ4
COM2 2F8 IRQ3
COM3 3E8 IRQ4
COM4 2E8 IRQ3
COM5 Undefined Undefined
COM6 Undefined Undefined
COM7 2E8 IRQ5
COM8 3E8 IRQ5

If you use these setups, you can simply specify the port number in your
ATSEND command line (Example: ATSEND Z 8 to reset a modem on COM8:):

If your port is setup differently, then ATSEND will look for two
environment variables called COMBASE and COMIRQ.

COMBASE must be converted from hex to decimal in order to work properly
(Example 744 for 2E8). A utility called HEX2DEC.EXE is included to assist
in changing your hex port address to decimal.

COMIRQ is simply the IRQ number being used.

For example, if you were going to run COM7 with a Base Address of 2F8 on
IRQ2, at the DOS prompt, or in a batch file you would type:

SET COMBASE=760
SET COMIRQ=2

This setting will override any DSZPORT, or command line commands.
I have included a program called HEX2DEC.EXE that can be used to
convert your hex port address into decimal. If COMBASE and COMIRQ are in
the environment, there is no need to put the port number on the command
line.


ATBATCH.EXE


ATBatch is the easy way out. It will create batch files for you
that send the proper commands to ATSEND, including COMIRQ and
COMBASE, including automatic hex to decimal conversion. Use
ATBATCH to create a batch file called ATH1.BAT. Then you can
just type ATH1 from DOS just like you were inside your favorite
terminal program!


USES


I wrote this as a utility to take my modem off the hook during BBS mail
runs so that callers wouldn't ring the line during the event. I'm sure
there are other uses for it, and would be interested in hearing from
users who find new ways to use this program.


SUPPORT


The latest version of this program along with other software I have written
are always available for download by first time callers to my BBS, The
Ledge PCBoard, 818-896-4015 (HST/V32.bis). First time callers may download
my programs on the first call when they use the "SUPPORT DOOR" which can be
found by typing the word OPEN at the main menu. You may pay for
registration online with MASTERCARD or VISA when you call The Ledge and
type REGISTER at the main menu command prompt.

Please report any problems, or suggestions to me at the following
addresses:

US Mail:
--------
Joseph Sheppard
The Ledge PCBoard
6858 Acco Street
Los Angeles, CA 90040

Modem:
------
The Ledge PCBoard
818-896-4015
USRobotics Dual Standard HST (V.32bis)

Echo Mail:
----------
U'NI-net (All Conferences)

Compuserve:
-----------
73175,623


REGISTRATION


ATSEND.EXE is fully functional. this is not crippled or limited software.
You can support this method of distribution, and encourage it to continue
by sending a shareware registration of $10.00.

For registrations by Visa, Mastercard, Discover or American
Express please call The Ledge PCBoard at (818) 896-4015 and enter
the word REGISTER at the main menu command prompt.

Checks and Money Orders may be made payable to THE LEDGE PCBOARD and mailed
to:

JOSEPH SHEPPARD
THE LEDGE PCBOARD
6858 ACCO STREET
LOS ANGELES, CA 90040


WARNING


I make no warranty of any kind, express or implied, including without
limitation, any warranties of merchantability and/or fitness for a
particular purpose. I shall not be liable for any damages, whether
direct, indirect, special or consequential arising from a failure of
this program to operate in the manner desired by the user. I shall
not be liable for any damage to data or property which may be caused
directly or indirectly by the use of this program.

IN NO EVENT WILL I BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY
LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR
FOR ANY CLAIM BY ANY OTHER PARTY.





 December 11, 2017  Add comments

Leave a Reply