Everything works fine, when using the @scriptdir folder to save the temp-files. Thanks Glenn!

Now, there's just this little question left, how to hide the console window, created by the runnas process?

Edit:
I solved this little problem by using the tool "cpau" instead of runnas.
cpau provides a switch called -hide which hides the consolewindow.
(cpau is also used by kix2exe)

Thanks @ all!



Edited by xFrog (2008-07-24 10:45 AM)