sarcasm mode on

you need to run the script from the command line .bat is a windows thing.

Dont run things from sqlplus. Where did it tell you to run it from sqlplus