MMMMSSSSDDDDOOOOSSSSCCCCPPPP((((1111)))) HHHHPPPP----UUUUXXXX 2222....1111 MMMMSSSSDDDDOOOOSSSSCCCCPPPP((((1111)))) NNNNAAAAMMMMEEEE msdoscp - copy to/from MS-DOS media SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS mmmmssssddddoooossssccccpppp [----bbbb|tttt] [----hhhh] <<<>>> <<<>>>::::<<<>>> mmmmssssddddoooossssccccpppp [----bbbb|tttt] [----hhhh] <<<>>>::::<<<>>> <<<>>> HHHHPPPP----UUUUXXXX CCCCOOOOMMMMPPPPAAAATTTTIIIIBBBBIIIILLLLIIIITTTTYYYY Origin: User Contributed DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _M_s_d_o_s_c_p allows copying files from HP-UX to an MS-DOS medium (shown in the first form, above), or from an MS-DOS medium to HP-UX (shown in the second form, above). Exactly one of the file specifiers must contain a ":", which serves as the separator between the device containing the MS-DOS medium and the filename. _M_s_d_o_s_c_p supports the hierarchical MS-DOS file structure, using "/" as the path separation character. _M_s_d_o_s_c_p does not support wild-carding filenames. The options are: ----bbbb causes a binary-mode copy. Every byte of the source file is transferred to the destination file. ----tttt (default) causes a text-mode copy. When copying to MS-DOS media, 's are converted to and the file is terminated with a 0x1a (CTRL-Z) byte. When copying from MS-DOS media, is converted into , and the copy terminates when a 0x1a (CTRL-Z) byte is encountered in the source file (the presence of the 0x1a byte is not necessary for the copy to work). ----hhhh When copying from MS-DOS media, this option allows copying hidden files (failure to specify this option will result in not finding a hidden file). When copying to MS-DOS media, this option causes the destination file to be hidden. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS msdoscp xyzzy /dev/rfd.0:xyzzy.prn copy HP-UX file "xyzzy" to MS-DOS file "XYZZY.PRN" on media in disk drive /dev/rfd.0 -- text-mode copy. msdoscp -b myfile /dev/rfd.1:mydir/newdir/filename.abc copy HP-UX file "myfile" to MS-DOS file "FILENAME.ABC" in sub-directory "NEWDIR" in sub-directory "MYDIR" -- binary-mode copy. Hewlett-Packard - 1 - (printed 11/6/85) MMMMSSSSDDDDOOOOSSSSCCCCPPPP((((1111)))) HHHHPPPP----UUUUXXXX 2222....1111 MMMMSSSSDDDDOOOOSSSSCCCCPPPP((((1111)))) msdoscp /dev/r9133.fd:filename - copy "FILENAME" from MS-DOS media in disk drive /dev/r9133.fd to stdout. SSSSEEEEEEEE AAAALLLLSSSSOOOO msdosinfo(1), msdosls(1), msdosmkdir(1), msdosrename(1), msdosrm(1). NNNNOOOOTTTTEEEE MS-DOS is a registered trademark of Microsoft, Inc. Hewlett-Packard - 2 - (printed 11/6/85)