Windows Tools: Difference between revisions

no edit summary
[unchecked revision][unchecked revision]
No edit summary
Line 8:
 
<source lang="dos">copy /b foo+bar foobar</source>
 
The '''/b''' switch indicates that we are dealing with binary files instead of ASCII. We need to specify it as this is behavior is not default when combining files.
 
== diskcomp ==
 
The '''diskcomp''' tool can be used to compare all tracks of two floppy disks. Example:
diskcomp A: B:
* If only one drive is specified, it is compared to the current drive.
* If no drives are specified, the same drive will be used for both floppies (you will be prompted to change them).
 
{| {{wikitable}}
|-
| errorlevel value
| Meaning
|-
| 0
| The contents of the two disks are identical.
|-
| 1
| The contents of the two disks are not identical.
|-
| 3
| An error has occurred.
|-
| 4
| Insufficient memory to perform the comparison.
|}
 
== diskcopy ==
Line 29 ⟶ 56:
There are a few things worth noting:
* The utility expects you to specify full paths.
* When the '''maximum''' argument is omitted, the default size is set to '''24''' GiB. When it is present, a valid hard disk size is needed.
* If not type is specified, the default is set to '''fixed'''. Expandable images grow in size as needed, while fixed ones do not.
* The '''source="bar.vhd"''' argument can be used in order to intialize the contents of the new image with ''bar.vhd''.
Anonymous user