PURPOSE OPERATION OPTIONS COMMAND LINES RELATED PROGRAMS
All programs are command line programs.
MUST be run within a command window as administrator.
Chsize will alter/change the size of a file on the disk.
It can either expand (add to) the size of the file with hex 00's, or truncate (decrease) the size of the file.
If the file is truncated, truncated data is lost.
When expanding the size of the file, Chsize adds nulls (hex 00) to the file to establish the final requested size of the file.
When truncating the file, data at the end of the file is lost.
None
C:>chsize file_name final_size C:>chsize file_name +add_bytes C:>chsize file_name -subtract_bytes C:>chsize anyfile 10000
/* will change the size of anyfile to 10000 bytes */
C:>chsize anyfile +200 /* will add 200 bytes to the file */