>>54
> 上書きしたいと考えています。
何を?
何でもいいなら

open ".\hoge.bin" for binary as 1
put #1, 1, clng(rnd)
close 1

でおk