Re: Seek/delete bytes from file...

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

On Thu, 11 Jan 2001 01:01:21 -0800, LEVIATHAN <leviathan at USWEST.NET> wrote:

>Heya all!
>
>I want to seek to a certain byte of a file, and delete n bytes from that
>byte on, and the catch: I don't have the file in memory. How can I go
>about this?
>
>TIA,
>
>--"LEVIATHAN"

I think you can't do this directly. You have to copy the bytes you need to a
 new file and leave out the bytes you don't need. Then delete the original
file and rename the newly created file to the original filename...

Eddy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu