Check Hard Disk Total Size by Command Prompt Step 1: Type cmd in Windows search box and click Command Prompt to open it. Step 2: Type wmic diskdrive get size and press Enter. Finally, the total size of hard disk space(in bytes) is displayed as the figure below.