Specifications

190 Version 2.0
setsize
Summary
Adjusts the size of a file.
Usage
setsize size file [file...]
Options
file
The file or files which will have its size adjusted.
size
The desired size of the file once it is adjusted. Setting the size smaller than the
actual data contained in this file will truncate this data.
Description
This command adjusts the size of a particular target file. When adjusting the size of a
file, it should be noted that it will automatically truncate or extend the size of a file
based on the passed in parameters. If the file does not exist, it will be created.
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_VOLUME_FULL The media has insufficient space to complete the request.
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or
its value was out of bounds.