首页
首页 » 文件管理 » mtools

mtools

mtools
功能说明:显示mtools支持的指令。
语  法:mtools
补充说明:mtools为MS-DOS文件系统的工具程序,可模拟许多MS-DOS的指令。这些指令都是mtools的符号连接,因此会有一些共同的特性。
参  数:
  -a  长文件名重复时自动更改目标文件的长文件名。 
  -A  短文件名重复但长文件名不同时自动更改目标文件的短文件名。 
  -o  长文件名重复时,将目标文件覆盖现有的文件。 
  -O  短文件名重复但长文件名不同时,将目标文件覆盖现有的文件。 
  -r  长文件名重复时,要求用户更改目标文件的长文件名。 
  -R  短文件名重复但长文件名不同时,要求用户更改目标文件的短文件名。 
  -s  长文件名重复时,则不处理该目标文件。 
  -S  短文件名重复但长文件名不同时,则不处理该目标文件。 
  -v  执行时显示详细的说明。 
  -V  显示版本信息。

mtools

command [options] [arguments]

A collection of tools for working with MS-DOS files and filesystems, especially for accessing files on floppy disks without mounting them as Unix filesystems. The various commands are mattrib, mbadblocks, mcat, mcd, mcopy, mdel, mdeltree, mdir, mdu, mformat, minfo, mkmanifest, mlabel, mmd, mmount, mmove, mpartition, mrd, mren, mshowfat, mtoolstest, mtype, and mzip.

For the purposes of mtools, all MS-DOS file names begin with a drive letter and colon, followed by the path. mtools accepts both / and for directory separators. For example, an MS-DOS file might be referred to as a:/directory/subdirectory/file.txt. If you use the backslash or any standard Unix wildcards or special characters, put the filename in quotation marks.

FAT filesystem filenames are normally a maximum of eight characters long with a three-letter extension, and are not case-sensitive. Even in the more recent VFAT system, which does preserve case sensitivity, two files with the same letters in their names, regardless of case, cannot coexist. Unix filenames that are too long, that use reserved characters (; + = [ ] ' , " * < > / ? : or |), or that conflict with MS-DOS devices (PRN, for example) are converted to VFAT names. This means replacing reserved characters with an underscore (_) and shortening files as needed, replacing several characters with a single tilde (~).