Hi,
that was exactly the mistake. Now the Script is running.

But i have another question.

I wanna make a querry if the OS is Windows XP or Windows 7. When it is Windows 7 the application does not need to run. If it is Win2k or Windows XP the application has to run.

does somebody know how to code this?

thx and bye