Thanks to the work of Budian and lyh728, grub for dos and Vfloppy have brought us a lot of convenience
Budian mentioned that it is not feasible to let grub support files with non-contiguous blocks. Just then, lyh728 provided a test tool for contiguous blocks, blklst.exe. I just wrote a batch script to create contiguous block files using blklst. It's very simple. The main idea is to keep copying files and test whether they are already contiguous.
It passed the test under Windows XP. Under Win98 and Dos, maybe it's due to the environment problem of Djgpp. My blklstds.exe can't work normally (I have installed it according to the instructions of Djgpp). If blklstds.exe can work normally under your Win98 and Dos, replacing blklst with blklstds in FDefrag.bat should make it work under win98 or dos.
Usage:
FDefrag File_To_Be_Defrag
For example: FDefrag super.img
Download:
Open attachment

Budian mentioned that it is not feasible to let grub support files with non-contiguous blocks. Just then, lyh728 provided a test tool for contiguous blocks, blklst.exe. I just wrote a batch script to create contiguous block files using blklst. It's very simple. The main idea is to keep copying files and test whether they are already contiguous.
It passed the test under Windows XP. Under Win98 and Dos, maybe it's due to the environment problem of Djgpp. My blklstds.exe can't work normally (I have installed it according to the instructions of Djgpp). If blklstds.exe can work normally under your Win98 and Dos, replacing blklst with blklstds in FDefrag.bat should make it work under win98 or dos.
Usage:
FDefrag File_To_Be_Defrag
For example: FDefrag super.img
Download:
Open attachment


