How do I resize a file from the command prompt (or in a batch file)?
Edit:
Clarifications:
It needs to treat the file as binary. The file format is irrelevant and arbitrary.
Extending the file should pad it with zeros.
Shrinking the file should truncate the file.
In other words:
How do you duplicate the functionality of SetEndOfFile in the command prompt?
Hoping that's clear...
