Michael B Allen said: > Now if I dump that file I get: > > $ hexdump -c /mnt/pub/t.txt > 0000000 \0 \0 \0 \0 \0 \0 h e l l o 2 > > Where did all these zeros come from? Nevermind. I was using a CreateDisposition of FILE_OVERWRITE_IF so when it reopend the file it overwrite the existing contents with 0's. You guys are good! Mike