xref: /minix/minix/commands/dosread/doswrite.1 (revision 9f988b79)
DOSWRITE 1
NAME
doswrite - write a file onto an MS-DOS diskette [IBM]
SYNOPSIS
doswrite [-a] drive file

\\\$1\ \\$2 ..

20 \\\$1\ # \\$2 ..

OPTIONS

5 -a # ASCII file

EXAMPLES

20 doswrite A x/y <z # Write file z to disk as x/y

20 doswrite -a B f # Copy stdin to \s-2MS-DOS\s+2 file f

DESCRIPTION

Doswrite writes its stdin to an \s-2MS-DOS\s+2 file. The diskette or partition must be formatted and have an \s-2MS-DOS\s+2 file system already in place, including all the directories leading up to the file. See dosdir on the use of single letter drive codes.