Windows command for file size only? -


Is there a Windows command, which will output to specified bytes of this type of file?

  & gt; Filesize test.jpg 65212  

I know that the DIR command outputs this information, but it also receives other information.

I can easily write such a program, but if I prefer to use a native Windows command, or is only available in the newly installed Windows XP.

If you are inside a batch script, you use logical variable tips to obtain filesyesia You can:

filesize.bat:

  @echo off resonance% ~ z1  

See you here.

Type

  Help Call  

See also for more information on all the crazy variable manipulation options at the command prompt.

Edit: This only works in versions 2000 and beyond


Comments