mdel

MS-DOS形式のディスクにあるファイルをマウントせずに削除します。


書式

mdel ファイル名 [ファイル名2 ・・・]
mdel [-v]

▲PageTop

オプション

オプション名 説明
-v 詳細表示を行います。

▲PageTop

実行例

MS-DOS形式のディスク上のファイル(「SampleText03.txt」があるものとします。)を削除します。

  1. ファイル「SampleText03.txt」が存在していることを確認します。
  2. ファイル「SampleText03.txt」を削除します。
  3. ファイル「SampleText03.txt」が削除されたことを確認します。

実行結果

# mdir [Enter]
 Volume in drive A has no label
Directory for A:/

SAMPLE~1 TXT        43 2008-10-03  15:33  SampleText01.txt
SAMPLE~2 TXT        43 2008-10-03  15:34  SampleText02.txt
SAMPLE~3 TXT       397 2008-10-03  15:35  SampleText03.txt
SAMPLE~1     <DIR>     2008-10-03  15:34  SampleDir01
        4 files                 483 bytes
                          1 455 616 bytes free

# mdel SampleText03.txt [Enter]
# mdir [Enter]
 Volume in drive A has no label
Directory for A:/

SAMPLE~1 TXT        43 2008-10-03  15:33  SampleText01.txt
SAMPLE~2 TXT        43 2008-10-03  15:34  SampleText02.txt
SAMPLE~1     <DIR>     2008-10-03  15:34  SampleDir01
        3 files                  86 bytes
                          1 456 128 bytes free
        

▲PageTop