荟萃馆

位置:首页 > 计算机 > 操作系统

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 >