Sideway
output.to from Sideway
`-=[]โŸจโŸฉ\;',./~!@#$%^&*()_+{}|:"<>? ๐‘Ž๐‘๐‘๐‘‘๐‘’๐‘“๐‘”โ„Ž๐‘–๐‘—๐‘˜๐‘™๐‘š๐‘›๐‘œ๐‘๐‘ž๐‘Ÿ๐‘ ๐‘ก๐‘ข๐‘ฃ๐‘ค๐‘ฅ๐‘ฆ๐‘ง ร…โ€‰โˆ’โ€‚ร—โ€ƒโ‹…โˆ“ยฑโˆ˜๊žŠ๏นฆโˆ—โˆ™ โ„ฏ ๐”ธ๐”นโ„‚๐”ป๐”ผ๐”ฝ๐”พโ„๐•€๐•๐•‚๐•ƒ๐•„โ„•๐•†โ„™โ„šโ„๐•Š๐•‹๐•Œ๐•๐•Ž๐•๐•โ„ค๐ด๐ต๐ถ๐ท๐ธ๐น๐บ๐ป๐ผ๐ฝ๐พ๐ฟ๐‘€๐‘๐‘‚๐‘ƒ๐‘„๐‘…๐‘†๐‘‡๐‘ˆ๐‘‰๐‘Š๐‘‹๐‘Œ๐‘ โˆผโˆฝโˆพโ‰โ‰‚โ‰ƒโ‰„โ‰…โ‰†โ‰‡โ‰ˆโ‰‰โ‰Œโ‰โ‰ โ‰ก โ‰คโ‰ฅโ‰ฆโ‰งโ‰จโ‰ฉโ‰ชโ‰ซ โˆˆโˆ‰โˆŠโˆ‹โˆŒโˆ โŠ‚โŠƒโŠ„โŠ…โІโЇ ๐›ผ๐›ฝ๐›พ๐›ฟ๐œ€๐œ๐œ‚๐œƒ๐œ„๐œ…๐œ†๐œ‡๐œˆ๐œ‰๐œŠ๐œ‹๐œŒ๐œŽ๐œ๐œ๐œ‘๐œ’๐œ“๐œ” โˆ€โˆ‚โˆƒโˆ…โฆฐโˆ†โˆ‡โˆŽโˆžโˆโˆดโˆต โˆโˆโˆ‘โ‹€โ‹โ‹‚โ‹ƒ โˆงโˆจโˆฉโˆช โˆซโˆฌโˆญโˆฎโˆฏโˆฐโˆฑโˆฒโˆณ โˆฅโ‹ฎโ‹ฏโ‹ฐโ‹ฑ โ€– โ€ฒ โ€ณ โ€ด โ„ โ— สน สบ โ€ต โ€ถ โ€ท ๏น ๏น‚ ๏นƒ ๏น„ ๏ธน ๏ธบ ๏ธป ๏ธผ ๏ธ— ๏ธ˜ ๏ธฟ ๏น€ ๏ธฝ ๏ธพ ๏น‡ ๏นˆ ๏ธท ๏ธธ โœ   โ   โŽด  โŽต  โž   โŸ   โ    โก โ†โ†‘โ†’โ†“โ†คโ†ฆโ†ฅโ†งโ†”โ†•โ†–โ†—โ†˜โ†™โ–ฒโ–ผโ—€โ–ถโ†บโ†ปโŸฒโŸณ โ†ผโ†ฝโ†พโ†ฟโ‡€โ‡โ‡‚โ‡ƒโ‡„โ‡…โ‡†โ‡‡ โ‡โ‡‘โ‡’โ‡“โ‡”โ‡Œโ‡โ‡โ‡•โ‡–โ‡—โ‡˜โ‡™โ‡™โ‡ณโฅขโฅฃโฅคโฅฅโฅฆโฅงโฅจโฅฉโฅชโฅซโฅฌโฅญโฅฎโฅฏ
Draft for Information Only

Content

MS DOS Command: DISKCOMP.COM
โ€ƒDescription
โ€ƒSyntax
โ€ƒParameters
โ€ƒSwitches
โ€ƒRelated Command
โ€ƒRemarks
โ€ƒโ€ƒInvalid drive for DISKCOMP
โ€ƒโ€ƒDISKCOMP messages
โ€ƒโ€ƒOmitting drive parameters
โ€ƒโ€ƒUsing one drive for the comparison
โ€ƒโ€ƒComparing different types of disks
โ€ƒโ€ƒUsing DISKCOMP with networks and redirected drives
โ€ƒโ€ƒComparing an original disk with a copy
โ€ƒโ€ƒDISKCOMP exit codes
โ€ƒExamples

MS DOS Command: DISKCOMP.COM

Reference from Microsoft MS-DOS cmd help

Description

Compares the contents of two floppy disks.

This command performs a track-by-track comparison. DISKCOMP determines the number of sides and sectors per track to compare based on the format of the first disk you specify.

Syntax

DISKCOMP [drive1: [drive2:]] [/1] [/8]

Parameters

drive1: Specifies the drive containing one of the floppy disks.
drive2: Specifies the drive containing the other floppy disk.

Switches

/1 Compares only the first sides of the disks, even if the disks are double-sided and the drives can read double-sided disks.
/8 Compares only the first 8 sectors per track, even if the disks contain 9 or 15 sectors per track.

Related Command

For information about comparing two files, see the FC command.

Remarks

Invalid drive for DISKCOMP

The DISKCOMP command works only with floppy disks. You cannot use DISKCOMP with a hard disk. If you specify a hard disk drive for drive1 or drive2, DISKCOMP displays the following error message:

Invalid drive specification

Specified drive does not exist

or is non-removable

DISKCOMP messages

If all tracks on the two disks being compared are the same, DISKCOMP displays the following message:

Compare OK

If the tracks are not the same, DISKCOMP displays a message similar to the following:

Compare error on

side 1, track 2

When DISKCOMP completes the comparison, it displays the following message:

Compare another diskette (Y/N)?

If you press Y, DISKCOMP prompts you to insert disks for the next comparison. If you press N, DISKCOMP stops the comparison.

DISKCOMP ignores a disk's volume number when it makes the comparison.

Omitting drive parameters

If you omit the drive2 parameter, DISKCOMP uses the current drive for drive2. If you omit both drive parameters, DISKCOMP uses the current drive for both. If the current drive is the same as drive1, DISKCOMP prompts you to swap disks as necessary.

Using one drive for the comparison

If you specify the same floppy disk drive for drive1 and drive2, DISKCOMP does a comparison by using one drive and prompts you to insert the disks as necessary. You might have to swap the disks more than once, depending on the capacity of the disks and the amount of available memory.

Comparing different types of disks

DISKCOMP cannot compare a single-sided disk with a double-sided disk or a high-density disk with a double-density disk. If the disk in drive1 is not of the same type as the disk in drive2, DISKCOMP displays the following message:

Drive types or diskette types not compatible

Using DISKCOMP with networks and redirected drives

DISKCOMP does not work on a network drive or on a drive created or affected by a SUBST command. If you attempt to use DISKCOMP with a network drive or a drive created by the SUBST command, DISKCOMP displays an error message.

Comparing an original disk with a copy

When you use DISKCOMP with a disk that you made with the COPY command, DISKCOMP may display a message similar to the following:

Compare error on

side 0, track 0

This type of error can occur even if the files on the disks are identical. Although the COPY command duplicates information, it doesn't necessarily place it in the same location on the destination disk. For more information about comparing individual files on two disks, see the FC command.

DISKCOMP exit codes

The following list shows each exit code and gives a brief description of its meaning:

0 The disks are the same.
1 Differences were found.
2 The user pressed CTRL+C to stop the process.
3 A critical error occurred.
4 An initialization error occurred.

You can use the ERRORLEVEL parameter on the IF command line in a batch program to process exit codes returned by DISKCOMP. For an example of a batch program that processes exit codes, see the CHOICE command.

Examples

If your system has only one floppy disk drive, drive A, and you want to compare two disks, type the following command:

diskcomp a: a:

DISKCOMP prompts you to insert each disk, as required.


ยฉsideway

ID: 110700160 Last Updated: 7/25/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 9

Culture

Chinese 1097

English 339

Travel 38

Reference 79

Hardware 55

Computer

Hardware 259

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 290new

Unicode 504

HTML 66new

Common Color 1new

Html Entity (Unicode) 1new

Html 401 Special 1

CSS 65new

Selector 1

SVG 46

ASP.NET 270

OS 447new

MS Windows

Windows10 1new

.NET Framework 1

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 207new

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2026 Sideway . All rights reserved Disclaimers last modified on 06 September 2019