you have 2 options.
the i-switch indeed is for sloppy coders only [Wink]

you can scan for outputs to the console or...

I just realized with my logon-process thingy that it's damn easy to create a logon.log with this.
it also prevents the console window to be created.

just add this line as first line of your script and you are done:

$=redirectoutput("%temp%\@userid.log",1)


do as much as you like output and debug stuff in your logonscript and your users don't need to see it at all [Wink]
makes lot easier to search for possible mapping errors etc. too...

[ 15. May 2003, 16:49: Message edited by: Lonkero ]
_________________________
!

download KiXnet