Index Index for
Section 1
Index Alphabetical
listing for M
Bottom of page Bottom of
page

mtype(1)

NAME

mtype - mtools utility to display the contents of a DOS file

SYNOPSIS

mtype [-ts] msdosfile [msdosfiles...]

OPTIONS

-t Specifies text file viewing. Line terminators are converted to the appropriate format. -s Strips the high bit from the data.

DESCRIPTION

The mtype command displays the specified file on the screen. Unlike conventions, this command supports multiple arguments. Subdirectory names that contain the '/' or '\' separator are supported. If you use the '\' separator or wildcards, you must enclose file names in quotes to protect them from the shell. The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:\.

EXIT STATUS

The following exit values are returned: 0 Success. 1 Failure.

ENVIRONMENT VARIABLES

The following environment variables affect the execution of mtype: MCWD If set, this variable names the file that contains the name of the current mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used.

FILES

$HOME/.mcwd Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:\. /usr/bin/mtools/mtype Executable file

SEE ALSO

Commands: dos2unix(1), mcd(1), mread(1), mtools(1), unix2dos(1)

Index Index for
Section 1
Index Alphabetical
listing for M
Top of page Top of
page