dd for Windows

相変わらずいつも使い方わすれるので、メモ

Make an image of a floppy disk
dd if=\\.\a: of=c:\temp\disk1.img bs=1440k

Make a disk from an image
dd if=c:\temp\disk1.img of=\\.\a: bs=1440k

Rip an .iso from a CD
dd if=\\?\Device\CdRom0 of=c:\temp\disc1.iso bs=1M

Read a USB memory device
dd if=\\.\Volume{c18588c0-02e9-11d8-853f-00902758442b} of=c:\temp\usb1.img bs=1M

You can write to any file or block device which windows will allow you to write to.
You can use \\.\ notation for win32 exported devices or \\?\ and the windows native device name.