Hi,
I use Shell function to run a batch file that get some arguments, Then the Batch file write a log file, which I read and analyze. The problem is that i need to automatically analyze it as soon as the batch file completed it task.But, I dont now how to know whether the batch file has completed to run. do you know how?

Shell path_lcl_drive.Text & Scc_Batch_File & " " & _
sccipadrs.Text & " " & win_ver.Text & " " & setup_ver.Text & _
" " & scc_dir_updt_virtex.Text & " " & src_sub_dir_virtex.Text & " " & path_cptn.Text & " " & path_lcl_drive.Text, vbMaximizedFocus



Eli