Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/en/bash/mtools.html
blob: ee1d81082576bd6000461b0a68efc6a73fa9add1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<link rel="STYLESHEET" href="../term_tools/main.css" type="text/css">
<title>mtools MAN Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body><!-- #BeginLibraryItem "/Library/head_bash.lbi" --><div id="nav-menu">
<ul>
<li><a class="rl" href="../term_tools/index.html"><img src="../term_tools/images/ss64.gif" title="Home" alt="Home"></a></li>
<li><a class="rl" href="../term_tools/bash"><img src="../term_tools/images/bash-l.gif" title="bash" alt="bash"></a></li>
<li><!-- Search Google -->
<form action="http://www.google.com/search" method="get" style="margin:0px;padding:0px;">
<div align="right">
<input name="q" type="text" class="body" size="25">
<input class="submit" type="submit" value="Search">
<input type="hidden" name="q" value="site:ss64.com/bash/">
</div>
</form></li>
<li><a class="rr" href="syntax.html"><img src="../term_tools/images/syntax-r.gif" title="Bash Syntax"></a></li>
</ul>
</div> <!-- #EndLibraryItem --><h1> mtools</h1> 
<p>Mtools is a public domain collection of tools to allow Unix systems 
  to manipulate MS-DOS files: read, write, and move around files on an MS-DOS 
  filesystem <br>
  <br>
  Mtools are typically used to manipulate FAT formatted floppy disks. Each program 
  attempts to emulate the MS-DOS equivalent command, these are different from 
  Windows NT/2000 commands.<br>
  <br>
  Mtools is sufficient to give access to MS-DOS filesystems. For instance, commands 
  such as `mdir a:' work on the `a:' floppy without any preliminary mounting or 
  initialization (assuming the default `/etc/mtools.conf' works on your machine). 
With mtools, one can change floppies too without unmounting and mounting.</p>
<pre>MTOOLS Programs

floppyd           floppy daemon to run on your X server box
floppyd_installtest small utility to check for the presence of floppyd
mattrib           change MS-DOS file attribute flags
<a href="../term_tools/bash/mbadblocks.html">mbadblocks</a>        tests a floppy disk, and marks the bad blocks in the FAT
mcat              same as cat. Only useful with floppyd.
mcd               change MS-DOS directory
mcopy             copy MS-DOS files to/from Unix
mdel              delete an MS-DOS file
mdeltree          recursively delete an MS-DOS directory
mdir              display an MS-DOS directory
mdu               list space occupied by directory and its contents
mformat           add an MS-DOS filesystem to a low-level formatted floppy disk
minfo             get information about an MS-DOS filesystem.
mlabel            make an MS-DOS volume label
mkmanifest        makes a list of short name equivalents
mmd               make an MS-DOS subdirectory
mmount            mount an MS-DOS disk
mpartition        create an MS-DOS as a partition
mrd               remove an MS-DOS subdirectory
mmove             move or rename an MS-DOS file or subdirectory
mren              rename an existing MS-DOS file
mshowfat          shows the FAT map of a file
mtoolstest        tests and displays the configuration
mtype             display contents of an MS-DOS file
mzip              zip disk specific commands
xcopy             recursively copy a dos directory into another</pre>
<p> Equivalent Windows commands:<br>
  <br>
  In the same way that `mtools' are DOS/Windows commands ported to run under UNIX, 
  most UNIX commands have been ported to run under NT.<br>
  A very limited selection of POSIX tools are included in the NT resource kits, 
  more can be found on the net.<br>
Be aware that most UNIX commands running on Windows are case sensitive. </p>
<!-- #BeginLibraryItem "/Library/foot_bash.lbi" --><p align="left"><script type="text/javascript"><!--
google_ad_client = "pub-6140977852749469";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
google_ad_channel ="1984328893";
google_color_border = "CCCCCC";
google_color_bg = "CCCCCC";
google_color_link = "000000";
google_color_text = "333333";
google_color_url = "0000FF";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br>
</p>
<div align="center"><hr size="1">
  <p id="top"><a href="#"><img src="../term_tools/images/top-4.gif" width="47" height="53" border="0" alt="Back to the Top" title="Back to the Top"></a></p>
  <p class="tagline">&copy; Copyright <a href="http://ss64.com/">SS64.com</a> 1999-2010<br>
Some rights reserved<br>
</p>
</div><!-- #EndLibraryItem --></body>
</html>