Hmm... not quite sure what should happen here, but it's still not doing what I want. When running your piece of code, this is the output it produces in the dosbox:
code:
 
P:\Public\Tijdelijk\NetLogonCopy>kix32 test
c:\temp\test.ini
LogonServer
Servers

Function success

However, the test.ini (which by the way must be in place before running the script) stays empty.

Does it work at your end?

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