DISKCOPY EDIT EXIT FC use and syntax how to duplicate floppy disks, ASCII text editor, quit the DOS shell command interpreter, compares two files or sets of files and displays the differences between them

Data Recovery PRO DATA DOCTOR

Home | Order Online | Download Data Recovery Software | Contact Us


DISKCOPY

DISKCOPY is used to duplicate floppy disks. Any data on the destination disk is overwritten.

Syntax:

DISKCOPY drive1: [drive2:] [/1] [/V] [/M]

drive1 Drive containing disk to be copied from and to, if the computer has only one floppy drive.

drive2 Drive containing disk to be copied to if different from drive1.

/1 Copies only the first side of the disk.

/V Verifies that the information is copied correctly.

/M Force multi-pass copy using memory only.

DISKCOPY is designed to duplicate standard floppy disks by making a byte-by-byte copy of the source disk to the destination disk. DISKCOPY do not work with hard drives, CDs, network drives, or Zip, Jazz, etc. type drives. Also it should be kept in mind Source and destination disks must be of the same type, size, and capacity. If they are not, an error message is displayed:

EDIT

It is a simple full-screen DOSased ASCII text editor.

Syntax

EDIT [/B] [/H] [/R] [/S] [/nnn] [filename(s)]

/B Forces monochrome mode.

/H Displays the maximum number of lines possible for your hardware.

/R Load file(s) in read-only mode.

/S Forces the use of short filenames.

nnn Load binary file(s), wrapping lines to nnn characters wide.

filename(s) Specifies initial files(s) to load. Wildcards can also be used.

To see the list of shortcut keys you can see the "Help" menu of editor.

EXIT

In case of DOS of windows environment, EXIT command is used to quit the DOS shell else if talking generally, Quits the MS-DOS command interpreter (COMMAND.COM) and returns to the program that started the command interpreter, if one exists.

Syntax

EXIT

FC

Compares two files or sets of files and displays the differences between them.

Syntax:

FC [/Switches] file1 file2

Switch

What It does

/B

Performs a binary comparison.
The two files are compared byte by byte and there is no attempt to resynchronize the files after finding a mismatch. This is the default mode for comparing files when file1 has an extension of .EXE, .COM, .SYS, .OBJ, .LIB and .BIN or similar to it.

/L

Compares files as ASCII.
The two files are compared line by line and FC attempts to resynchronize the files after finding a mismatch. This is the default mode for comparing files when file1 does not have an extension of .EXE, .COM, .SYS, .OBJ, .LIB and .BIN or similar to it.

/LBn

Sets the number of lines for the internal line buffer.
If the files being compared have more than this number of consecutive differing lines, FC cancels the comparison. Default value of n is 100

/nn

The number of consecutive lines that must match before the files are declared resynchronized. If the number of matching lines in the files is less than this number, the matching lines are displayed as differences. Default value of nn: 2.

/N

Displays the line numbers on an ASCII comparison.

/A

Abbreviates the output of an ASCII comparison. Only the first and last line for each set of differences is displayed as opposed to the default of every different line.

/C

Disregards the case of letters.

/T

Does not expand tabs to spaces.
By default, tabs are treated as spaces with 1 tab = 8 spaces.

/W

Compresses tabs and multiple spaces to a single space for the comparison.

If file1 includes a wildcard, all applicable files are compared to file2. If file2 also includes a wildcard, it is compared with the corresponding file1. In most cases, binary files are compared to see if they are the same or not. To simply see if two binary files are identical, it is often quickest to compare them as ASCII files using the /LB1 switch to cut the output to a minimum.

Let us see an example of the significant differences in processing times. By trying the following examples you will be able to understand how to use FC in Time saving and batter way:

FC c:\windows\command\xcopy.exe c:\windows\command\attrib.exe
FC c:\windows\command\xcopy.exe c:\windows\command\attrib.exe /L
FC c:\windows\command\xcopy.exe c:\windows\command\attrib.exe /L /LB1

Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi
Data Recovery with & without Programming


Publishers of the Book
Number of Pages
ISBN
Price of the Book


BPB Publications, New Delhi, India
540
81-7656-922-4
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)





Buy Data recovery Book

Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

Next page

© Copyright 2002-2005 DataDoctor.Biz

Home | Contact us | Downloads | Services | Terms and conditions | Site map

Website Data Recovery | recuperación de Datos | Récupération de données | Datenrettung | Recupero dati | データ復旧 | 데이터 복구 | 数据恢复 | Восстановление данных | De terugwinning van gegevens | Ανάκτηση δεδομένων
Sitemap Site map1 2 3 4 | Spanish1 2 3 | French1 2 3 | German1 2 3 | Italian1 2 3 | Portuguese1 2 3 | Japanese1 2 3 | Korean1 2 3 | Chinese1 2 3 | Russian1 2 3 | Dutch1 2 3 | Greek1 2 3
Data Recovery Book English | Spanish | French | German | Italian | Portuguese | Japanese | Korean | Chinese | Russian | Dutch | Greek