- 相關(guān)推薦
DOS的Expand、Fasthelp、Fc命令使用說明
導(dǎo)語:Expand、Fasthelp、Fc命令都分別有不同的功能,下面就由小編為大家介紹一下DOS的Expand、Fasthelp、Fc命令使用說明,大家一起去看看吧!
expand:解壓工具
。圻m用場合]微軟公司軟件原始安裝盤中有許多后綴以"_"結(jié)尾的壓縮文件,可以用它解壓,解除您因?yàn)樯贁?shù)幾個(gè)文件丟失造成的麻煩。
[用法]expand [源文件名] [目的文件]
。劾樱
C:>expand a:vsafe.co_ c:DOSvsafe.com
解壓vsafe.co_為vsafe.com文件
Microsoft (R) File Expansion Utility Version 2.10
Copyright (C) Microsoft Corp 1990-1993. All rights reserved.
Expanding a:vsafe.co_ to c:DOSvsafe.com. a:vsafe.co_:33046 bytes expanded to 62576 bytes, 89% increase.
C:DOS>
fasthelp:快速顯示幫助信息
[建議]可以看看所有的命令,對于單個(gè)的命令,還不如在命令名后加/?參數(shù)方便
。塾梅ǎ輋asthelp 列出所有DOS命令的用處
fasthelp [命令名] 顯示命令的用處,等價(jià)于 [命令名]/?
fc:文件比較
。劢ㄗh]也許對于大多數(shù)人是永遠(yuǎn)不會用到它的
。塾梅ǎ輋c [文件名1] [文件名2] 比較兩文件的不同
參數(shù)還有: a c l Lbn n t w nnnn
。劾樱
C:TEST>fc a.bat b.bat
Comparing files A.BAT and B.BAT
***** A.BAT
choice /c:dme defrag,mem,end
if errorlevel 3 goto defrag
if errorlevel 2 goto mem
if errotlevel 1 goto end
***** B.BAT choice /c:dme defrag,mem,end
***** C:TEST >