filesize

This command returns the size of a file in bytes.

filesize [filesys path]

Parameters

  • filesys path
    Fully qualified path to the file or directory of interest.

Remarks

This command outputs a numeric string representing the size, in bytes, of the named file.

This command is typically used within backticks to perform command substitution.

See Also

Environment Commands

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.