help needed: temp file that just takes up space

LordSnailz

Diamond Member
Nov 2, 1999
4,821
0
0
I need some way to create a few 500meg temp. files, anyone know what the easiest way to do this? And no I'm not trying to jack someone in kazza or anything.

We had an old old app. at work that would not read more than 2 gigs, but our actually disk is over 4 gigs, so it's erroring out.

any help, TIA!
 

MattCo

Platinum Member
Jan 29, 2001
2,198
2
81
Create a program that writes to a file over and over for a set number of times (million).


-MC
 

BillGates

Diamond Member
Nov 30, 2001
7,388
2
81
This should do*

*Note: this is a .vbs file - definitely virus-free, but scan it just so that you can trust me.

Simply run the file and choose the size of the file you want to create, in MB and it'll quickly make one and dump it into the same folder you ran the script from.

I actually took this from an Anandtech thread WAY back and modified the code so that it'd create the files MUCH faster. It's nuts - you can compress a 5GB file with WinRAR into a file that's like 5kb. (funny to download to people's PC and extract)

Enjoy :)