create a zero-filled file larger than 4 GB

  • Thread starter Thread starter Thomas Finninger
  • Start date Start date
T

Thomas Finninger

for testing purposes i have to create a (zero-filled) file larger than
4 GB

i tried creatfil.exe from the win2000 resource kit ... but it does not
accept filesizes larger than 4 GB ...

is there any (freeware) tool available ?
 
Thomas said:
for testing purposes i have to create a (zero-filled) file larger than
4 GB

i tried creatfil.exe from the win2000 resource kit ... but it does not
accept filesizes larger than 4 GB ...

is there any (freeware) tool available ?

How *much* larger than 4GB? Why not simply create two 3GB files and
concatenate them?
 
Thomas said:
for testing purposes i have to create a (zero-filled) file larger than
4 GB

i tried creatfil.exe from the win2000 resource kit ... but it does not
accept filesizes larger than 4 GB ...

is there any (freeware) tool available ?

XP/2003 support a tool named FSUTIL -

C:\>fsutil file createnew c:\test.txt 7000000000

.... will create a 7GB file sparse file.

Short of that, I would suggest creating 2 files of 4GB and concatenating
them per Phil's suggestion.

C:\>copy file1.txt+file2.txt bigfile.txt

HTH

Dean
 
How *much* larger than 4GB? Why not simply create two 3GB files and
concatenate them?

Or even concatenate the one file with itself?

copy big.fil+big.fil bigger.fil
 
Back
Top