That is true Howard, but then i will probably try that in the near future. For now i am lookin for a way, to create a local text or ini file or watever, in which the current LogonServer is listed. Nothing more nothing less.

I've tried the writeprofilestring and writeline, but can't get it to work.
For writeprfilestring I tried:
code:
  
$rc=writeprofilestring("c:\temp\test.ini","LogonServer","@Lserver")

It creates the file, but leaves it empty. Obviously i am not getting the picture here. Some help would be appreciated.

Thanks,

Brian
_________________________
Rodney Dangerfield: “My mother didn't breast-feed me. She said she liked me as a friend.”