Create File of a Specific Size
Create a file with a specific size using the fsutil utility
This sample task will demonstrate how Automate can create a file with a specific size using the fsutil utility.
The task will prompt for the file size and populate the appropriate variables referenced by the fsutil utility. This task can create 1GB files in less than a second.
Usage : fsutil file createnew <filename> <length>
Eg : fsutil file createnew c:\test\testfile.txt 1000
Creates a file of the specified name and size, with content that consists of zeroes.
It is important to note that the length, actually is the length in bytes, so a value of 1000, will be 1KB.