Hi again,
Your advice worked, I found the problem by displaying the error. It was kind of stupid too (I should have check the Registry).

For the Win95 & 98 clients the registry value they report is

"c:\program files\tivoli\lcf\bin\win95\mrt\lcfd.exe" -C "c:\program files\tivoli\lcf\dat\1"

now I only want to know this bit: c:\program files\tivoli\lcf\dat\1

I havent figured out how to do this yet, but I've been assured that the install dir should not be different, so If decided to simply define the $Tivolihome variable without checking the registry first.

A previous poster showed me how to split a string in two, but I guess here It would be very different?
Is this possible and advised?

Thanks again