Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 12 Posts 6 Joined 2006-11-21 21:28 19-year member UID 71277 Gender Male
Status Offline
4. Sector Internal Processing Command (Process only a single sector)
If Bytes input is 0 or the input data is too large (exceeds the sector boundary), the program processes the number of bytes from Offset to the end of the sector.
Example:
Diskrw 0 0 446 /b 64 mbr.dat Back up 64 bytes starting from offset position 446 in the first sector (sector 0) of the first hard disk (disk 0) to file mbr.dat. (Here, what is backed up is the partition table information in the disk MBR)
Diskrw 0 0 446 /b 64 mbr.dat Error occurs in Windows. What to do?