Insert bytes into middle of a file (in windows filesystem) without reading entire file (using File Allocation Table)?

前端 未结 8 1137
盖世英雄少女心
盖世英雄少女心 2020-12-13 19:04

I need a way to insert some file clusters into the middle of a file to insert some data.

Normally, I would just read the entire file and write it back out again with

8条回答
  •  余生分开走
    2020-12-13 19:27

    Edited - another approach - how about switching to Mac for this task? They have superior editing capabilities, with automation capabilities!

    Edited - the original specs suggested the file was being modified a lot, instead it is modified once. Suggest as others have pointed out to do the operation in the background: copy to new file, delete old file, rename new file to old file.

    I would abandon this approach. A database is what you're looking for./YR

提交回复
热议问题