John,based off of the conversation here.
here is a modified version of my above script. it gives a report of spaced used on all file types.
$files = dirplus("c:\bryce\mp3","*.*",1,1)for each $file in $files
if instr($types,$file.type) = 0
$types = $types + $file.type + ","
endif
next
$types = split($types,",")
redim preserve $types[ubound($types)-1]
for each $type in $types
$typesize = 0
$buffer = " "
for each $file in $files
if $file.type = $type
$typesize = $typesize + $file.size
endif
next
? "$typesize" + substr($buffer,len($typesize),len($Buffer)) + $type
next
here is the output
719 BAS File
4868 Microsoft Excel Comma Separated Values File
226600 Microsoft HTML Document 5.0
351519680 File Folder
2421248 Application Extension
4457 CNT File
28392 GID File
203962 Help File
4182 Configuration Settings
1745342 WinZip File
214381 Text Document
1409 DIZ File
10053 EL! File
546 MS-DOS Application
82 OLD File
227948 LIB File
114598 GIF Image
11639 JPEG Image
48883458 PRJ File
801 DAT File
2998 Icon
2874 IDX File
-530113234 Winamp media file
15130 ISU File
4433 MS-DOS Batch File
708 Cascading Style Sheet Document
114967 PS File
3689 Winamp playlist file
1049 KixTart
6201348 Movie File (MPEG)
4335 PRE File
1659 CDB File
1575216 Bitmap Image
3957 LKS File
195 Paint Shop Pro 5 Image
299 Q2 File
i do not know why Winamp media file is -530113234. But i do have a lot of them in this folder.