Diks Imaging Utilities

Set of disk imaging command line utilities for Windows. (See Screenshot). These work on device level and allow direct reads/writes on fixed and removable media. DIMG allows reading and writing raw disk images, either whole disk, a partition, or custom portion in sectors may be specified. WIPE securely erases data on disk, and CFRESET is a little tool for restoring default partition table (one partition with all free space assigned) on compact flash (USB pen) drives.

Apparently don't work properly on Win7 (probably some safety related access denials) I'll fix that when I find a reason to upgrade.

Downloads

Windows Executables: dimg.zip
These programs are freeware and may be used for any purpose. No warranty provided whatsoever.
If you're interested then grab the C source code which is thereby public domain: dimg-src.zip

Command Line Quick Reference

DIMG - Read/Write raw disk image.

dimg c|w [switches] device file | l [switches]

CommandDescriptionSwitches
cWrite disk contents to image. -p n: only read specified partition.
-r offset-extent: only read specified range (in sectors).
wWrite image to disk. -o offset: starting position (in sectors)
lList available devices.-r: removable media only
-f: fixed media only
hShow usage information.

WIPE - Wipe disk data.

wipe l [-r/f] | s [-p partition] device

CommandDescriptionSwitches
wErase data on the disk and fill with zeroes-p partition: Wipe specified partition.
lList available devices.-r: removable media only
-f: fixed media only
hShow usage information.

CFRESET - Reset CF partition table.

cfreset l | h | device

CommandDescriptionSwitches
lList available devices.-r: removable media only
-f: fixed media only
hShow usage information.