Hello all,

I want to connect to oracle with a windows .bat for execute some commands. I create the script like this:

echo off
sqlplus "sys as sysdba"

When I execute the .bat i only obtain the passwd request. The problem is that only execute the first line.

How can I execute this script? what are the commands that i have to modify?

Thanks in advanced.