SetFileLength – Set the length in bytes of the input file
‘ Set the length in bytes of the input file’ Example:’ Dim filePath As String = “c: est.txt”‘ MessageBox.Show(“Original length: ” & New System.IO.FileInfo(filePath)’ .Length)’ SetFileLength(filePath, 50000)’ MessageBox.Show(“New length: “