Found it. Buried in a forum posting somewhere... @echo off FOR %%f IN (.\sql\tab1\*.sql) DO exit | sqlplus [uid]/[pwd]@[db] @ " %%f " FOR %%f IN (.\sql\tab2\*.sql) DO exit | sqlplus [uid]/[pwd]@[db] @ " %%f " Add " exit | " to the beginning of the command
Read More...