blank.gif (43 bytes)

Church Of The
Swimming Elephant



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



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 write.


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

ntcmds00000001.gif Debug: W--Notes

ntcmds00000001.gif Debug: W--Example


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609