$lrgfilename="c:\tmp\largefile.txt" # change this variable to affect the file location/name $file = new-object System.IO.FileStream $filename, Create, ReadWrite $file.SetLength(30MB) # change the value within the () to affect the file size $file.Close()
No comments:
Post a Comment