Re: delete bytes?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu