Re: delete bytes?
- Posted by Brian Broker <brian_broker at yahoo.com> Mar 20, 2006
- 568 views
Hayden McKay wrote: > > > You could use interrupt 13h to sector read the disk's FAT(s), look for the > file entry and modify the file's size before sector writting back to disk. > > Search www for 'Creating A Bootdisk' or 'Modifying the VFAT', I've seen a > few good examples out there in the past. > > Regards, > Hayden > > Q. How many programmers doe's it take to change a lightbulb? > A. None, its a hardware problem! I don't know about you but I rarely "get it right" the first time I write a program or routine. This would be a rather risky approach. The only safe thing I can think of is to re-write the file and let the OS take care of it. Isn't that why we have operating systems? -- Brian