Using the Connect Remote Environmental Variable
================================================

You may set an environmental variable with Connect Remote named C2REMOTE.

This will allow you to specify the command line parameters to use by
default when Connect Remote is started.


In your autoexec.bat file, specify:


Usage Examples:
==============

Answer incoming calls; call host every 20 minutes, shut down
after 60 minutes

        SET C2REMOTE=-a -r20,60

Answer incoming calls; never call out

        SET C2REMOTE=-a -r

Dial out at 9600 baud, and use a calling card number when dialing

        SET C2REMOTE=-b9600 -c41055512125555

When calling, use the specified COM port, interrupt, and base address,
use the specified dialing prefix, answer incoming calls, enable manual
dialing

        SET C2REMOTE=-com4, 7, 2F8, -d*70,, -a -dm


For reference purposes, the following is a recap of all of the command
line parameters:

-a              Indicates that Connect Remote should answer incoming
                phone calls.  This is best used with -r parameter.

                Example: C2REMOTE -a -r15,60

-b<?speed?>     Tells Connect Remote to use a specific modem speed
                when making connections.

                Example: C2REMOTE -b2400

-c<?card #?>    Indicates that a specific calling card number should be
                sent after dialing the host number.

                Example: C2REMOTE -c41036355551010

-comX,IRQ,      Tells Connect Remote to use non-default Com port,
Base Address    Interrupt, and base memory address settings.

                Example: C2REMOTE -com4, 7, 2F8

-d<?prefix?>    Dialing Prefix to use instead of the default.

                Example: C2REMOTE -d*70,,

-dm             Use manual dialing.  When dial tone is received, the
                keyboard may be used to enter a phone number and calling
                card number and pin.

                Example: C2REMOTE -dm

-f<?filename?>  Alternate initialization file (INI).

                Example: C2REMOTE -fC2REM2.INI

-g<?gway name?> Tells Connect Remote to immediately force a connection
                to the specified gateway.

                Example: C2REMOTE -gFAX

-h<?host name?> Indicates that host to call.

                Example: C2REMOTE -hCSERVE

-i<?init str?>  Use the passed modem initialization string in place of
                modem init string #1.

                Example: C2REMOTE -iAT&F E1Q0 &W

-m<?mail path?> Indicates the mail path (e.g., MV path) to use.

                Example: C2REMOTE -mg:\

-n<?phone #?>   Indicates the phone number to dial.

                Example: C2REMOTE -n4103631210

-p<?password?>  Indicates the password to use for calling the host.

                Example: C2REMOTE -ppassword

-preview        Use message preview mode.

                Example: C2REMOTE -preview

-q              Skip the pre-connection menu on entry.

                Example: C2REMOTE -q

-r###           Repeat flag.

                ### = shut down after ### minutes
                (default = never if -r specified with no value)

                Example: C2REMOTE -r15

-s              Connect in send only mode, do not pick up messages.

                Example: C2REMOTE -s

-setup          Start menu based setup program.

                Example: C2REMOTE -setup

-t<?tries?>     Number of times to retry failed connection
                (default = infinite number)

                Example: C2REMOTE -t10

-th<?size?>     Set threshold for maximum size, in kilobytes (kb),
                of messages/attachments to pick up from host.

                Example: C2REMOTE -th50

-u              Indicates to update the configuration file with the
                specified options.

                Example: C2REMOTE -u

-vb             Writes video output through the video BIOS.

                Example: C2REMOTE -vb

-vm             Write video output using monochrome video attributes.

                Example: C2REMOTE -vm

-w<?seconds?>   Wait between retries on failed calls
                (default = 60 seconds)

                Example: C2REMOTE -w120

-x              Exit when finished.

                Example: C2REMOTE -x

-y              Request directory synchronization update from configured
                directory synchronization host.

                Example: C2REMOTE -y
