糯米文學吧

位置:首頁 > 計算機 > 操作系統

DOS的Expand、Fasthelp、Fc命令使用説明

導語:Expand、Fasthelp、Fc命令都分別有不同的功能,下面就由小編為大家介紹一下DOS的`Expand、Fasthelp、Fc命令使用説明,大家一起去看看吧!

DOS的Expand、Fasthelp、Fc命令使用説明

  expand:解壓工具

[適用場合]微軟公司軟件原始安裝盤中有許多後綴以"_"結尾的壓縮文件,可以用它解壓,解除您因為少數幾個文件丟失造成的麻煩。

[用法]expand [源文件名] [目的文件]

例子

C:>expand a:_ c:

解壓_為文件

Microsoft (R) File Expansion Utility Version 2.10

Copyright (C) Microsoft Corp 1990-1993. All rights reserved.

Expanding a:_ to c:. a:_:33046 bytes expanded to 62576 bytes, 89% increase.

C:DOS>

  fasthelp:快速顯示幫助信息

[建議]可以看看所有的命令,對於單個的命令,還不如在命令名後加/?參數方便

[用法]fasthelp 列出所有DOS命令的用處

fasthelp [命令名] 顯示命令的用處,等價於 [命令名]/?

  fc:文件比較

[建議]也許對於大多數人是永遠不會用到它的

[用法]fc [文件名1] [文件名2] 比較兩文件的不同

參數還有: a c l Lbn n t w nnnn

[例子]

C:TEST>fc

Comparing files and

*****

choice /c:dme defrag,mem,end

if errorlevel 3 goto defrag

if errorlevel 2 goto mem

if errotlevel 1 goto end

***** choice /c:dme defrag,mem,end

***** C:TEST >