Quote:

It return an array with a space and the end of the array.



Yes, it does

You may REDIM the array to remove the last (blank) entry:
Code:
Redim Preserve $listdrives[Ubound($listdrives)-1]



However most people just ignore the blank entry using something like:
Code:
$listdrives = SPLIT(ReadProfileString($ficsit,$OuPart,""),CHR(10)) 

For Each $drive in $listdrives
If $drive
...do something...
EndIf
Next



Edited by Richard H. (2004-06-23 02:19 PM)