unix2dos - mtools utility to convert a UNIX file to DOS
format
unix2dos unixfile
None
Name of the file to convert.
The unix2dos command converts a file from UNIX format to
DOS format. The converted file replaces the original
file.
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:\.
The following exit values are returned: Success. Failure.
ENVIRONMENT VARIABLES [Toc] [Back] The following environment variables affect the execution
of unix2dos: 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.
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:\. Executable
file
Commands: mcopy(1), mread(1), mtools(1) mtype(1),
mwrite(1)
unix2dos(1)
[ Back ] |