How To Quickly Create Dummy Files In Windows

Share on FacebookShare on Google+Tweet about this on TwitterPin on PinterestShare on RedditPrint this page

Here is a quick way to create dummy files or empty files in Windows (the reasons to do this range from testing internet connectivity speed for uploading / downloading files of different sizes to pure pranks :)) :

1. Open Windows command prompt (Start > Run > cmd) or type command prompt in case of Windows 7 Start menu.

2. Once at the command prompt, issue the following command as per below syntax :

fsutil file createnew <filename.extension> <size in bytes>

Example : fsutil file createnew e:\dummyfile.txt 2048 will create a file named dummyfile.txt in E:\ with a file size of 2 KB


  1. kck says:

    good tip, I used it to make a batch file to quickly make 1000 zero-byte files.