I thought there was a way to show filesize in actual bytes in Windows Explorer's Details View, rather than KB/MB/GB. Can't find it though.
-
1I have a slightly different question: I'm more interested in the automatic display showing bytes when the file is less than 1KB. For years, I've been misled into thinking that some of my files are as big as 1KB, when in fact they are only a few hundred bytes. Do you know if this alternative question has been asked before?– ahornJul 19, 2020 at 7:35
-
Can bytes be displayed only when the file is less than 1KB?– ahornJul 19, 2020 at 13:02
7 Answers
Explorer won't do this as far as I know. I use xplorer² for a substitute and it will show file sizes in bytes:
I also faced the same problem with Windows Explorer. If you do not wish to download any add-on or software to view your files. One simple way is to open command prompt and view the files with dir
command.
-
This isn't very useful if you need to sort Windows Explorer search results (e.g. all text files containing "Superman") on size. May 8, 2022 at 0:53
-
2
cmd
could do more things than you could in Windows Explorer. Anyway OP only asked for the size in bytes and my solution address to that. May 8, 2022 at 9:57
There is a 3rd party tool Size In Bytes which makes Windows Explorer display the file size in bytes.
-
1According to the Size In Bytes info page, a valid SmartFTP license is required, and that's about $80 for the cheapest version (last I checked). Nevertheless, this license requirement does not seem to be enforced, at least not for random individual users; I've been using this Explorer extension for many years without issue. Feb 18, 2019 at 9:40
You can use FreeCommander. It is freeware and you can view the size in bytes, kB, MB, or "Auto":
-
Thank you for the thoughtful and constructive answer, Superuser benefits from members like you. Dec 5, 2017 at 3:56
-
I'm more interested in the automatic display showing bytes when it is less than 1kB. I wonder if FreeCommander does this, since this is not obvious from the screenshot.– ahornJul 19, 2020 at 7:32
The following example creates bat files to rename some files to embed the size in the name (file explorer shows that) and a 2nd to undo the change when you are finished.
@for %i in (xx*log*) do @echo rename %i %i--%~zi >> tmp1.bat
@for %i in (xx*log*) do @echo rename %i--%~zi %i >> tmp2.bat
Not very general purpose, but I found it useful when cleaning up a bunch of redundant log files.