What are power usage and power trends in task manager?
The most common way for most Windows users to check the size of a folder is to open the folder properties in File Explorer. However, the file size displayed will be in KB. Furthermore, you prefer to see all file sizes at a glance in human-readable units such as MB or GB rather than bytes and KB.
By default, Windows will display all its files size in KB, and sometimes reading this size is difficult because manually you have to convert the bytes size or KB to either MB/GB as these Units are much familiar to us.
Also, as far as I know, there is no default way of converting units of measurement in Windows Explorer. So, we need to perform tweaks on it.
Ourtechroom will guide you in showing all files in MB/GB Windows 11/10.
Open PowerShell and type the following scripts.
Get-ChildItem is a command that directs the computer to return all of the files found in a given path. In my particular instance, the path is C: DemoFolder. It will list the filename in a tabular manner and display the size of the file in megabytes. It will display filesize with up to five decimal places after the decimal point.
Actually, the script that you just ran did not find all of the files in the subfolder. If you want to display recursively all of the files that are placed anywhere, even inside subfolders and subfolders within subfolders, then you need to type the following command.
-Recurse and -Force: Recursively search for parameters in all files in the directory and subdirectories.
If you want to include only a certain type of file then you can do the following:
Here we are including zip, txt, and mp4 and its filesize in MB
Similarly, if you want to exclude then you can use it like this:
Here we are excluding C1F2 and TempFolder.
GCI is a short form for Get-childItem. So, you can use it as follows:
You can also use the command prompt for displaying the file size. Just open a command prompt and type the following.
Here, powershell -command helps you to display the PowerShell command to run in the command prompt. Here Powershell script is included in double quotation as shown above.
There are lots of software that shows the file and its filesize in the desired filesize. One of that software is TreeSize.Let's look into this software.
1. Download TreeSize software from this link.
2. Click on
Select Directory from the menu and select the desired folder you want to display their property including filesize.
3. Click on
Automatic Units and then select
Values in MB. Now you will get all files and folder names and their size in MB.
In this way, we are showing all files in MB/GB Windows 11/10.
The command for this is as follows:
Even though the terms are pronounced similarly and their acronyms contain the same letters, megabits and megabytes do not refer to the same unit of measurement. Their relationship is as follows:
8 Mb = 1 MB = 2^20 bytes = 1048576 bytes