Your host:
Stephen Chapman
Stephen Chapman

Creating a Dummy File

Question: How can I create a file of a certain size in Windows XP?
Anonymous

Answer: If you need to create a file of a certain size and the file contents don't matter, you can use the fsutil command as in the following example:


fsutil file createnew d:\temp\1mbfile.txt 1048576

This creates a 1Mb file named 1mbfile.txt in the d:\temp folder. Just substitute the filename and size (in bytes) that you require.

Copyright © Felgall Pty Ltd
Web Hosting | VPS Hosting | Dedicated Hosting