I forgot to mention that I am working on a Windows2000 server and that Oracle is installed on D:
Do I just go to the command prompt and type
D:\SET ORACLE_SID=
What if I want to run a bat file on the second instance also? Should I put this command in the begining of each bat file for each instance?