Question: I'm need to essentially get the summary of "DIR/s" but without listing. I want to be able to see the number of files/folders/bytes used and bytes available - and pipe all that to a file?

Answer: 
```
@echo off
setlocal EnableDelayedExpansion
for /F %%a in ('dir') do (
   set files=!dirs!
   set dirs=%%a
)
echo %files% Files(s), %dirs% Dir(s)

```

Previous Batch file may be easily modified to get the number of used and available bytes, if required.

Antonio
While this can be done using command-line scripting it's FAR easier using PowerShell.

Without knowing what information you want to collect per folder and as a summary, it's not possible to provide a worked solution right now.

However, I'd encourage you to read through and experiment with the scripts and answers provided in the following threads:

* [A PowerShell script to find the file size and file count of a folder with millions of files?](https://stackoverflow.com/questions/7080654/a-powershell-script-to-find-the-file-size-and-file-count-of-a-folder-with-millio)
* [PowerShell : how do you run a folder size summation?](https://stackoverflow.com/questions/543621/powershell-how-do-you-run-a-folder-size-summation?rq=1)
* [powershell folder stats](https://stackoverflow.com/questions/5064104/powershell-folder-stats?rq=1)

HTH.