導語: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 >