I think the error sits here :

Code:

$serverlist = readfile("serverliste.csv")



unless serverliste.csv isn't placed in the current directory the function won't find the file.

You can verify this with the following (using kix32.exe):

Code:

$serverlist = readfile("serverliste.csv")
? @error + " - " + @serror



If this returns other than "0 - The command completed successfully" you should add a path to the filename
_________________________