Sign in to follow this  
swatward

Creating a large Dummy file.

Recommended Posts

Well basicallly, I was wondering the best way of creating a large dummy file, from 1 gig and larger. The only way i can think of doing it is through a loop which echos a series of characters to a file. I want to be able to see speed with hard drives and web servers, Like dl and upload rate. If you have any other ways than waiting for a text document to get large, which takes forever, let me know. Thanks, Swatward

Share this post


Link to post
Share on other sites
If you're using Windows, you can create the file then use SetEndOfFile() to make a 1GB file. If you want to actually write stuff to that file, it's a different matter though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this