Hi

You have to make two bacth files.

1. startup.bat
---------------

svrmgrl @s.sql


2. s.sql
----------------

connect internal



Then when ever you run the startup.bat, the the file s.sql will be executed. Try it..!

Thomas