$f = New-Object System.IO.FileStream("testfile.txt", [System.IO.FileMode]::Create) $f.SetLength(715KB) $f.Close() Use code with caution. Copied to clipboard 2. Using Command Line (macOS/Linux)
If you want to create this manually by typing or pasting text, keep in mind that: In encoding, 1 character = 1 byte . (715 KB)
You can quickly create a dummy file of a specific size using PowerShell: powershell $f = New-Object System