<BR>ASP CODE:<BR>################################################## #<BR>Set sysCmdExec=Server.CreateObject("basp21") <BR>rc=sysCmdExec.Execute("cmd.exe /c c:CreateUsers.bat " & loginName & " " & PASSWD ,1,msg)<BR>################################################## #<BR><BR>CreateUsers.bat CONTENTS:<BR>================================================== =<BR>set CLASSPATH=.;c:enCommercegetAccessinjavalibclasses .zip;c:enCommercegetAccessinjavalib<BR>set PATH=C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem;C :enCommercegetAccessshared;c:enCommercegetAccessi njavain;c:enCommercegetAccessin<BR> c:<BR> cd <BR> cd c:Inetpubwwwrootgetaccess<BR>c:enComm~1getAcc~1injavainjava.exe CreateUsers %1 %2<BR><BR>================================================== =<BR><BR>Hello. I'm a new ASP scripter.<BR>Hope somebody could help me.<BR><BR>The above ASP program will execute the CreateUsers.bat batch file which in turn will invoke the java CreateUsers program. These scripts run just fine. I can actually create new accounts. My problem is, "msg" dont return java exception errors. For example user ABCD had been created and if user ABCD will be inputed again. "msg" wont return duplicate user error thrown by the java program.<BR><BR>please. i need help....<BR><BR><BR>-knenk