Create File of a Specific Size

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 Eg : fsutil file createnew c:\test\testfile.txt 1000 createnew 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.