Copying DOS files to base operating system files

Use the dosread command to copy the specified DOS file to the specified base operating system 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.doc from a DOS diskette to the base operating file system, type the following:
    dosread -a chap1.doc chap1
    This copies the DOS text file \CHAP1.DOC on the /dev/fd0 default device to the base operating system file chap1 in the current directory.
  • To copy a binary file from a DOS diskette to the base operating file system, type the following:
    dosread -D/dev/fd0 /survey/test.dta /home/fran/testdata
    This copies the \SURVEY\TEST.DTA DOS data file on /dev/fd0 to the base operating system file /home/fran/testdata.