If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Another way is to write a SQL script that calls the other SQL files in their various directories. If you don't need to run every file, comment out the line, then run the master SQL script file. Write once, do many, Grasshopper.

If you generally run these sql scripts form one machine, you could alter your registry for SQLPATH:

HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\(your oracle home)
open the SQLPATH and enter the folder locations, separated by a semicolon:
example - "c:\new_directry1;c:\new_directry2;c:\new_directry3;c:\new_directry4"

after updating your SQLPATH key, you will be able to type "@(name of sql script).sql" from sqlplus prompt and it will iterate through the directories in the registry path and run the first script it finds with that name.