.writemem (Write Memory to File)

The .writemem command writes a section of memory to a file.

.writemem FileName Range 


Specifies the name of the file to be created. You can specify a full path and file name, or just the file name. If the file name contains spaces, FileName should be enclosed in quotation marks. If no path is specified, the current directory is used.

Specifies the memory range to be written to the file. For syntax details, see Address and Address Range Syntax.


Item Description
Modes User mode, kernel mode
Targets Live, crash dump
Platforms All


The memory is copied literally to the file. It is not parsed in any way.

The .writemem command is the opposite of the .readmem (Read Memory from File) command.