| Reasons to be out of space or Problem Steps Prerequisites
Skills Learned VBA Code used Get The files on a Drive The purpose of this program is to be able to find space you can recover if you're running out of space on a drive. Google gives you 15 GB (Gigabytes) of a billion text characters per gigabyte. A byte is 8 bits of ones and zeros. Videos take up the most space, and a 30-minute video can easily vary from 1 GB to 8 GB depending on the quality of the recording. If you run out of space, it's probably because you're doing a lot of video processing or just have a small disk drive. Older computer users, before Windows existed used software called DOS (Disk Operating System) which was Bill Gates' first system he sold from Microsoft. To bring up the Dos also known as (aka) CMD window for Command, you press the Windows key and type cmd or dos This should bring up a window that looks like the following: Press Open and the Dos or Command Prompt window will open. The Command Prompt allows you to communicate with the Operating System (Software that runs the computer) to tell it actions to take. ![]() If you don't see the c:\ prompt you need to enter cd \ Enter until you do The cd is Change Directory type the following at the C:\> prompt dir *.* /s /b > c:\temp\cdrive.txt ![]() You can enter help or dir /? to get help on what commands you can enter and their parameters. This could take a minute to an hour, depending on how many files there are. I started mine at 9:10 AM. It's finished when you see a new c:\ prompt. If you have a lot of files, I have over 1 million and want to get started you can press CTRL C on the Dos windows and it will stop the current command that's running. You could monitor the progress by checking the file Win R C:\temp\ Enter ![]() This will show the file you're outputting data to. ![]() The file size should change to show you that it's running. You can open the file in Notepad by just double-clicking it. The file will look something like the following: ![]() Directory command is finished Once the directory command finishes
Continue with the Excel Sheet Find the biggest Files
Add suffix to a field Pivot Tabe This will allow you to see the usage of space by any of the fields in the spreadsheet Open files easily |