Question

In a build operation I am attempting to do on Windows (7, if it matters), I need to execute the command dd status=noxfer conv=notrunc if=data.bin of=disk.flp on object code from assembly (nasm with -f bin). Is there a way to do this without installing any programs? To reiterate, installation of third-party programs is entirely impossible on this workstation.

Était-ce utile?

La solution

Unless I'm missing something all you want is to append the data from data.bin file to the end of disk.flp file. If so, it should be easy with CreateFile - SetFilePointer (to the end of file) - WriteFile

Autres conseils

dd is available for Windows.

Best up to date source that I've found is bundled with Git for Windows. With that installed the binary lives here C:\Program Files\Git\usr\bin\dd.exe

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top