Copying base operating system files to DOS files
Use the doswrite command to copy the specified base operating system file to the specified DOS file.
Note: DOS file-naming conventions are used with one exception. Because
the backslash (
\) character can have special meaning to the
base operating system, use a slash (/) character as the delimiter
to specify subdirectory names in a DOS path name.See the following
examples:
- To copy a text file named chap1 from the base operating
file system to a DOS diskette, type the following:
This copies the base operating system file chap1 in the current directory to the DOS text file \CHAP1.DOC on /dev/fd0.doswrite -a chap1 chap1.doc - To copy a binary file named /survey/test.dta from
the base operating file system to a DOS diskette, type the following:
This copies the base operating system data file /home/fran/testdata to the DOS file \SURVEY\TEST.DTA on /dev/fd0.doswrite -D/dev/fd0 /home/fran/testdata /survey/test.dta
See the doswrite command in the Commands Reference, Volume 2 for the complete syntax.