Jochen

Actually I think that the file dsquery is a command line program he is running to get back this information.

Viggen,

Try using the line alone without the SHELL command and a GET $ on the next line so that the script waits for a key press. Then verify that the command line is not broken up and is being presented as it should be.

Also look at some of the COM methods on the board. I'm sure it can be done without shelling to an external program.

Please post your script inside the [code] tags and maybe we can help you with another method to get what you're looking for.