[EdCert previous] [EdCert next] [EdCert top]

README.mtools


MTOOLS
			      version 2.0

Mtools is a public domain collection of programs to allow Unix systems
to read, write, and manipulate files on an MSDOS filesystem (typically a
diskette).

Mtools is installed on wisipc.

The following MSDOS commands are emulated:

Mtool 		MSDOS
name		equivalent	Description
-----		----		-----------
mattrib		ATTRIB		change MSDOS file attribute flags
mcd		CD		change MSDOS directory
mcopy		COPY		copy MSDOS files to/from Unix
mdel		DEL/ERASE	delete an MSDOS file
mdir		DIR		display an MSDOS directory
mformat		FORMAT		add MSDOS filesystem to a low-level format
mlabel		LABEL		make an MSDOS volume label.
mmd		MD/MKDIR	make an MSDOS subdirectory
mrd		RD/RMDIR	remove an MSDOS subdirectory
mread		COPY		low level read (copy) an MSDOS file to Unix
mren		REN/RENAME	rename an existing MSDOS file
mtype		TYPE		display contents of an MSDOS file
mwrite		COPY		low level write (copy) a Unix file to MSDOS

The pattern matching routine more closely resembles Unix than MSDOS.
For example, "*" matches all MSDOS files in lieu of "*.*".

The use of wildcards (or the '\' separator) will require the names to be
enclosed in quotes to protect them from the shell.  For example:

	RIGHT:	mcopy "a:*.c" .

	will copy all files on the A: disk with the extension .C to the
	current Unix directory.

	WRONG:	mcopy a:*.c .

	will cause the shell to expand a:*.c in the current Unix directory
	(which is probably not what you wanted) then copy that list of
	files (if there were any) from A: to the current Unix directory.

	RIGHT:	mcopy *.c a:

	will copy all files with the extension .c in the current Unix
	directory to the A: drive.  (This time you *want* the shell
	the expand the *.c).

Documentation: man mtools as well as individual man pages for each
  of the commands listed above.

Mtools is available from the UWSG ftp server.




[EdCert previous] [EdCert next] [EdCert top]