The checkfile.exe utility displays the file size of a file that you specify. If the file does not exist, it returns 0 (zero).
This utility has the following format:
checkfile [OPTIONS] filename
Specifies the available options for the command. The following options are available:
Displays detailed (verbose) information. This option must precede the -s option.
Displays the file size in bytes.
Displays the file size in kilobytes.
Displays the file size in megabytes.
Displays the file size in gigabytes.
Displays the checkfile.exe usage message.
Specifies the absolute path name of the file whose size you want to display.
Examples
Windows
checkfile -sk C:\pagefile.sys
UNIX
checkfile -sm /var/log/syslog
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |