On occasion I’ve needed to create a file of a decent size so I can test a copy script or upload or download times. Here’s how to create a file:
Code to run from a command prompt:
fsutil file createnew <filename> <length>
Length being bytes!
fsutil file createnew STUPID_FILE.FILE 40000