I need to create a .bin or .img of a disk from the command line. I have tried using rawcopy (an .exe that I downloaded from the internet), but that is rubbish. Does anyone know of other alternatives?
EDIT: I am using Windows 7 (x64), sorry to the person who posted the linux answer (I do prefer Linux, but I can't use it in this case... It's on my school computer.)
What I am trying to do is to save a RAM-Disk (as a virtual HDD) to my physical HDD as a .img file. I plan to wrap a GUI around this for easy use. Heck, if someone knows of a Java or C library that can do this I am open to that, too.