What follows is part of code which went into making a low level diskeditor. The software is like NU - Norton Utilities. It corrects disk errors, lost chain in files, etc. It assumes the user to have a good understanding of the format of disk layout where user can do low level byte by byte editing, including boot sector and FAT-1,FAT-2. The code can be compiled using TASM, and then linked using TLINK to get a single .exe file. All the code is written in x86 Assembly. TASM and TLINK can be found with Borland C++ compiler package. You can find them in \bin directory. Two file B and CL are DOS batch files which will help you to compile and link the file, they delete previous version of files.