14 Comments to 4 ways to create random dummy files with a specific size in Windows

  1. Ashish Jain says:

    try our Disk Filler Utility. download from http://www.sqamanual.com/home/mainnav/downloads

  2. Ciprian Adrian Rusen says:

    Thanks for sharing this tool.

  3. DioPorco says:

    It’s useless because it’s not possibile to create a dummy .exe file……

    1. Ciprian Adrian Rusen says:

      What about renaming the file and replacing the .txt file extension with .exe?

    2. Ben Dover says:

      No, you are a useless dummyphile

  4. Jonathan says:

    I used the command prompt instructions. This was helpful for testing the file size limits on the mail server. Thanks.

  5. Abacus says:

    The last one is a virus.

    1. Anonymous says:

      What is a virus?

  6. Roger says:

    Hey, you guys are always publishing instructions in your excellent articles on how to get someplace? Today you explain how to get to the Cmd prompt.
    If you right click on the Start button (lower left Task Bar #1 position) you will find over a dozen different places you can go with a Single click.

    1. Roger says:

      Gotta go…………..!
      I can’t stand the pace here! If I continue to follow the activity here I won’t have time for anything else.
      Maybe later!
      Caio………..

  7. Helmer says:

    Would love to know more about what exactly goes on when calling “.NextBytes($out)” – is it interpreted as an array of sorts?

    Anywho – instead of calculating the size elsewhere, it can be done directly in line, e.g. for a 1gb file: new-object byte[] 1gb
    Calculations can be done in line as well, e.g. 5 mg file:
    new-object byte[] (5 * 1mb)

    1. Alby says:

      There is no need for multiplications in PS for the size… 1MB will be rendered as 1048576 and 5mb as 5242880. You can in fact even write 1.5mb that will become 1572864.

  8. Fonsi says:

    I’ve developed an online tool that does the job easily. You can give it a try at https://createdummyfiles.com/

    Regards

  9. stub says:

    What I need is a tool which will turn all my jpg files in a download folder to 1 byte files easily. I have thousands of files. I’ve already copied them where they need to be. So this download folder is purely for preventing the download of the same file more than once, and to reduce the storage space to a minimum. It also coincidentally is also a quick reference to any new downloads. The one’s with real file sizes. I’ve looked high and low to find a tool to do this. But until now. No success. Any help would be appreciated.

Leave a comment

Loading...