Actually both do work on Win7 and XP. I found out what my problem was. I'm only wanting to collect the totals on the current directory, not recursive. If you do a dir in the current directory without /s, it's missing the line:
Total Files Listed:
Right above the # of files & bytes
So yours actually works better because it doesn't look at "Total Files Listed:". Also what does the ^ do right before the | ?
This scripting stuff is new territory for me. I've worked in support roles the last 15 years but never delved into scripting this much. It does seem, though, that UNIX seems more straightforward, IMHO :)
Thanks so much to you both!