Expand、Fasthelp、Fc命令的用法


expand     解压工具

[适用场合]  微软公司软件原始安装盘中有许多后缀以"_"结尾的压缩文件,可以
         用它解压,解除您因为少数几个文件丢失造成的麻烦。

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


[例  子]  C:\>expand a:vsafe.co_ c:\dos\vsafe.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:\dos\vsafe.com. a:vsafe.co_:
         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 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>

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3