150 Appendix C: Modem information
Operating your modem using
commands at the DOS prompt
Generally, only experienced modem users should
attempt to operate the modem from the DOS prompt.
With DOS, you must type long ATcommand strings and
you may need to send a variety of commands for each
transmission. Also, you do not always receive feedback
that your commands have been received and executed
by the modem.
Understanding the DOS modem
commands
To communicate with a modem from DOS, use the
ECHO command. Direct these commands to the port
your modem is connected to. For example, type the
following command at the DOS prompt and press
Enter:
C:\> echo ATS0=0&W0>COM1
This ATcommand contains these instructions:
ATS0=0 This part of the command stores a 0 into
S register 0 to turn Auto Answer off.
S registers are storage areas inside the
modem. The S registers hold values that the
command set uses to control modem
operations. For more information on
S registers, see “S registers” on page 174.
&W0 This part of the command stores ATS0=0
into memory (NVRAM location 0) for future
use.
>COM1 This part of the command directs the entire
command to the modem’s port.
Whether you use DOS or a modem communications
software program, you can send a wide variety of
commands to your modem. For a detailed listing of
modem commands, see “Modem commands” on
page 156.
Operating the modem without
Windows 95
When you open a DOS session on your computer, the
DOS prompt appears. You can type DOS commands at
the DOS prompt to operate your computer (in a limited
fashion) without the help of Windows 95.
To run a DOS session, you can either shut down
Windows 95 and start a DOS mode session or leave
Windows 95 running and open a DOS window session.
If you use DOS mode to run a DOS communications
program or a DOS game that uses the modem, your
computer requires that a specific terminate and stay
resident (TSR) program be loaded into memory first. If
you use a DOS window to run a DOS communications
program or game, the TSR program is not required.
To set up a DOS session for your DOS mode
communications programs or games, start DOS mode
from the Windows 95 desktop. When you start DOS
mode from the desktop, everything is automatic.