Hello Jens,
This bb ROX, and thanks for your fast reply [Smile]

I understand your array idea, I should have 4 arrays, everyone containing a row of data, where row 3 contains only the bytes. I hope Iam close because Iam very bad in programming :|

I studied it and tryed to implement this in the peace off code. Here's my try:

code:
  

$Path = "H:\"
$TempFile = "C:\00003.tmp"

$Lokaal = GETFILEVERSION("%WINDIR%\Explorer.exe", "Language")
? $Locale
IF $Lokaal = "0413Dutch"
$String = "bestand(en)"
ELSE
$String = "File(s)"
ENDIF

;=== Vang de DIR info op, filter alle regels weg behalve de regels met $String (directory output)
SHELL '%COMSPEC% /C dir $Path /s /a-d /-c | find "$String" >$TempFile'

$ = OPEN(1, $TempFile)
$Line = READLINE(1)
WHILE $Line <> ""
$PrevLine = $Line
$Line = READLINE(1)
LOOP
$ = CLOSE(1)
DEL $TempFile

$array=split($line,' ')

LOOP

$bytes=val($array[3])
$megabytes=$bytes/1048576

Is this oke?

-rel
_________________________
This is Unix Country. On a quiet night you can hear NT reboot.