@echo off set /p oracle_user="input oracle user: " set /p oracle_password="input password: " set /p oracle_tablespaces="input default tablespace: " set sql_path="." set /p flag="execute Y|N: " if %flag%==Y (sqlplus / as sysdba @%sql_path%\create_user.sql %oracle_user% %oracle_password% %oracle_tablespaces%) echo "xxxxx" pause