Debug: W (Write)
Writes a file or specific sectors to disk.
To write the contents of the number of bytes specified in the BX:CX registers
to a disk file, use the following syntax:
w [address]
To bypass the Windows NT file system and directly write to specific sectors,
use the following syntax:
w address drive start number
Parameters
address
Specifies the beginning memory address of the file, or portion of the file,
you want to write to a disk file. If you do not specify address, Debug starts from CS:100. For information about valid values for the address parameter, see the debug command.
drive
Specifies the drive that contains the destination disk. This value is numeric:
0 = A, 1 = B, 2 = C, and so on.
start
Specifies the hexadecimal number of the first sector to which you want to
write.
number
Specifies the number of sectors to which you want to write.
See Also
For information about specifying a file for the w command, see the Debug N (Name) command.
For information about loading the contents of a file or file sectors into
memory, see the Debug L (Load) command.
More Information About Debug: W
Debug: W--Notes
Debug: W--Example