`

Microsoft File Compare

阅读更多

ling091 2009-1-2

参考: http://en.wikipedia.org/wiki/Microsoft_File_Compare

 

微软的操作系统从MS-DOS 3.30版就有文件比较命令,该命令等同于UNIX系统的命令:comm,cmp和diff。微软的文件比较命令可以比较文本文件或二进制文件,文本 文件可以是ASCII或Unicode编码,比较的结果输出在标准输出上,主要是给人看,难以被其他程序所使用。

 

文件比较命令说明:

fc or comp

Compares two files or sets of files and displays the differences between them.
FC [/A] [/C] [/L] [/LBn] [/N] [/T] [/W] [/nnnn] [drive1:][path1]filename1 [drive2:][path2]filename2
FC /B [drive1:][path1]filename1 [drive2:][path2]filename2
 /A 	Displays only first and last lines for each set of differences.
 /B 	Performs a binary comparison.
 /C 	Disregards the case of letters.
 /L 	Compares files as ASCII text.
 /LBn 	Sets the maximum consecutive mismatches to the specified number of lines.
 /N 	Displays the line numbers on an ASCII comparison.
 /T 	Does not expand tabs to spaces.
 /W 	Compresses white space (tabs and spaces) for comparison.
 /nnnn 	Specifies the number of consecutive lines that must match after a mismatch.
 [drive1:][path1]filename1  	Specifies the first file or set of files to compare.
 [drive2:][path2]filename2  	Specifies the second file or set of files to compare.[citation needed



]





comp命令和fc命令使用起来并不一样,comp命令只给出文件基本信息的不同之处,如文件大小,而fc命令则会输出文件的不同之处。

 

1
0
分享到:
评论

相关推荐

    Microsoft Codeview and Utilities User's Guide

    6.5 Compare Memory Command 6.6 Search Memory Command 6.7 Port Input Command 6.8 Register Command 6.9 8087 Command Chapter 7 Managing Breakpoints 7.1 Breakpoint Set Command 7.2 Breakpoint Clear ...

    UE(官方下载)

    If you need to quickly compare of portions of text, rather than an entire file, then you need UltraEdit/UEStudio's selected text compare! The selected text compare allows you to select portions of ...

    Araxis Merge Professional 2012.4162 (x86/x64).part1

    Directly open and compare the text from Microsoft Office (Word and Excel), OpenDocument, PDF and RTF files. Compare images and binary files. Synchronize folders. Perform code reviews and audits. Work...

    Araxis Merge Professional 2012.4162 (x86/x64).part2

    Directly open and compare the text from Microsoft Office (Word and Excel), OpenDocument, PDF and RTF files. Compare images and binary files. Synchronize folders. Perform code reviews and audits. Work...

    Hex Editor 16进制文件查看利器

    of hexadecimal development tools for Microsoft Windows 2000 and later. Hex Workshop combines advanced binary editing and data interpretation with the ease and flexibility of a modern word processor. ...

    MIBBrowser8.rar

    on Microsoft Windows operating systems (Windows 95, Windows 98, Windows NT, Windows ME, Windows 2000 and Windows XP) and Linux operating systems. MIB Browser lets you monitor and manage any SNMP ...

    Group-Policy:PowerShell脚本可帮助收集有关组策略的信息

    它包含2个Powershell脚本: compare-admx.ps1 用: compare-admx " C:\Program Files (x86)\Microsoft Group Policy\Windows Server 2012\PolicyDefinitions " " C:\Program Files (x86)\Microsoft Group Policy\...

    MS-DOS 5.0

    In this file the following topics are covered: 1. Introduction 2. Solving Setup Problems 2.1 Priam and Everex Hard Disks 2.2 SyQuest Removable Hard Disk 2.3 Bernoulli Drive 2.4 Disk Manager 2.5...

    skein加密解密C源码

    This program is used internally to test/validate/compare different implementations (e.g., Reference, Optimized, Assembly). skein_block_x64.asm This is the 64-bit assembly language version of skein_...

    C 语言编缉神经网络工具

    you run the demo.bat program, and you can compare corresponding files to see that they are the same. All you have to do is run "demo.bat" in order to both train and test the batchnet artificial ...

    PLCSIM_V54.rar

    Il seguente file leggimi contiene importanti informazioni per l'installazione e l'utilizzo di S7-PLCSIM V 5.4. Si consiglia di leggerlo prima di installare e utilizzare il software. Indice 1 Nuove ...

    SetupFactory(Dot net4.0脚本) .net4 脚本

    if (Compare == 0 or Compare == 1) then -- .NET version 4 is installed already SetupData.WriteToLogFile("Info\t.NET 4 Module: .NET version 4 is installed already\r\n", true); return true; ...

    au3反编译源码

    Well you may have unpacked/dumped the script exe-stub found out the exact original version, downloaded the original from the AutoIT site archive and now compare the original stub aka AutoItSC.bin ...

    i-vector的工具箱

    This will make it easier for the users to compare the theory with the implementation and help them better understand the concept behind each algorithm. Usage In ...

    ICS delphixe10源码版

    The zip file has sub-directories in it. You must use the WinZip "Use folder names" option to restore this directory tree or you will have problems because the files would not be in their proper ...

    javascript语言参考+教程 CHM

    CompareMode 属性; Count 属性; DateCreated 属性; DateLastAccessed 属性; DateLastModified 属性; Drive 属性; DriveLetter 属性; Drives 属性; DriveType 属性; Files 属性; FileSystem 属性; ...

    kgb档案压缩console版+源码

    Windows executable overall, followed by Microsoft VC++ .net 7.1 /O2 /G7 PAQ6 DESCRIPTION 1. OVERVIEW A PAQ6 archive has a header, listing the names and lengths of the files it contains in human-...

    ETL工具Kettle用户手册

    目录 Kettle 3.0 用户手册 ...................................................................................................................... 1 Kettle 3.0 用户手册 .....................................

    DbfDotNet_version_1.0_Source

    It is rather an object persistence framework, like the Microsoft Entity Framework or NHibernate. The difference is that it doesn't translate object manipulations into SQL requests because it speaks ...

    C#全能速查宝典

    1.4.3 Compare方法——比较两个字符串 46 1.4.4 CompareTo方法——比较两个字符串对象 47 1.4.5 DATEADD函数——在指定日期上加一段时间 48 1.4.6 DateDiff方法——获取日期时间的间隔数 48 1.4.7 DateTime结构——...

Global site tag (gtag.js) - Google Analytics