Mark Barto's Blog

Technical Blog about the Microsoft .NET Platform and everything that surrounds it such as .Net, C#, BizTalk, WCF, ASP.NET, SQL, Silverlight, IIS ...

Various: Howto create temporary files of specific size

Sometimes you want to have a file with a specific size for testing purposes.

Easily you can do that with the following command:

fsutil file createnew c:\onegb.txt 1073741824 

This will create a file with the name onegb.txt with a size of 1GB.

Read More ...

Posted by mabarto on 03-10-2011 and Filed under: Various
4 comments