Hmmmmmm......

Shell ; SHELL "c:\login\sso12.bat" will not work :-( nor when i'm using sleep with it (see below)

But..... this do - after the sleep was inserted (started with 5 and it works but just to make sure i put on 2 ekstra secs.

IF $OS =W7
run "c:\login\sso12.bat"
GOSUB REGFIX
else
run "c:\login\sso12.bat"
sleep 7
ENDIF

GOSUB VELKOMST1 (the last thing to do - welcome the user before ending the script)

Why the H.... the sleep is needed makes me wonder but it works so I think i will leave it there and keep on testing to make sure i can login at least a 100 times on different machines before going "into production"
_________________________
/Erik
----------------------------------
I'm always up for extra vacation.