Results 1 to 2 of 2

Thread: Can you delete files or bytes in a file?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    83

    Post

    read the title

    later,
    Iceman

    P.S. I finally made the program ive been buggin ppl with questions about so thanks to everyone

  2. #2
    Lively Member
    Join Date
    Oct 1999
    Posts
    66

    Post

    The easiest way to delete a file is
    kill filename

    To delete bytes in a file, just open the file in binary mode, read the contents into a string variable, delete the bytes and write them back to the file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width