Multiple-Option Blocks - Falcon DOS Portable Data Terminals Advanced User's Manual

Dos portable data terminals
Table of Contents

Advertisement

Up to ten slashes or hyphens can be used for options in the environment variable.
Refer to section,
Any of the parameters used in the example could be overwritten on the
command line. For example, with following command:
C:\> xfer /x foo
XFER would use Xmodem for the file transfer instead of Zmodem, while still
using the other option settings specified in the
There are two precautions for mixing options in the environment variable with
options on the command line. The first is about options that are supported by
Zmodem protocol only. In the following example:
C:\> set XFER_ARGS = /z /w4096 /c3
C:\> xfer /x foo
the environment variable is set up to use Zmodem with a 4K window and crash
recovery turned on. In the XFER command line, Xmodem protocol is
specified. Since Xmodem doesn't support windows or crash recovery, both
those options are ignored. Another, more troublesome scenario is the following:
C:\> set XFER_ARGS = /z /o5
C:\> xfer /x foo
Here, XFER is set to Zmodem in the environment variable, with an overwrite
setting of 5 (overwrite if source is newer). However, in the XFER command
line, Xmodem protocol is specified. The only overwrite settings that Xmodem
supports are O4 (always overwrite) and O7 (never overwrite); all other O
options resolve to O7 for Xmodem. If the file foo exists, the transfer will
abort. In this case, specify O4 on the command line or do not use the X option.
If a filename is included in the
always be the first file sent or received. Negate it only by specifying the
the command line (refer to
when including filenames in the environment variable.

Multiple-Option Blocks

XFER supports multiple options after a single slash (/) or hyphen (-) on the
command line and in the
following examples is a valid command line:
Advanced User's Guide
, on

Multiple-Option Blocks

XFER_ARGS
). For this reason, exercise extreme caution
page 3-20
XFER_ARGS
for more information.
page 3-27
variable.
XFER_ARGS
environment variable, that file will
environment variable. Each of the
Using XFER
N
option on
3-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents