The next example lists the files on the MS-DOS disk in your floppy drive, and then changes to the docs directory on that drive: You can use the mdir command to list files on your MS-DOS disk, and you can use the mcd command to change directories on it. The next example copies the file mydata to the MS-DOS disk, and then copies the preface file from the disk to the current Linux directory.Ĭurrently, mtools cannot access Windows XP, NT, and 2000 NTFS partitions. Unlike MS-DOS, which defaults the second argument to the current directory, you always need to supply the second argument for mcopy. The directory docs on the A drive would be referenced by the pathname a:/docs, not a:\docs. Unlike normal DOS pathnames, pathnames used with mtool commands use forward slashes instead of backslashes. You specify the MS-DOS disk with a: for the A drive. For example, to copy a file from an MS-DOS floppy disk to your Linux system, use the mcopy command. For an MS-DOS floppy disk, place the disk in your floppy drive, and you can then use mtool commands to access those files. With mtools, you needn't mount an MS-DOS partition to access it. No special operations, such as mounting, are required. The mcopy command enables you to copy files to and from an MS-DOS floppy disk in your floppy drive or a Windows partition on your hard drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |