echo off
cls
if ""=="%1" goto start
set ANGIIUSR=%1
:start
c:\angoss\bin\angossx -RADc:\contacts
:checkosa
if "%ANGMSG%"=="" goto msgnotset
if not exist %ANGMSG%\osapl.bat goto end
command /c %ANGMSG%\osapl.bat
goto start
:msgnotset
if not exist c:\contacts\system\users\%ANGIIUSR%.0\osapl.bat goto end
command /c c:\contacts\system\users\%ANGIIUSR%.0\osapl.bat
goto start
:end
