I had similar behavior calling SMSLS.bat using RUN. The problem does not occur when using SHELL.

Comment out the SCAN32.exe and seen if the behavior changes. If it does, then we can discuss options.

Sorry I can't be more help at this time.
_________________________
Home page: http://www.kixhelp.com/hb/