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:
To bypass the Windows NT file system and directly write to specific sectors,
use the following syntax:
w address drive start number
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.
Specifies the drive that contains the destination disk. This value is numeric:
0 = A, 1 = B, 2 = C, and so on.
Specifies the hexadecimal number of the first sector to which you want to
Specifies the number of sectors to which you want to write.
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