Originally posted by marist89
If we want to be 100% correct, we'd say "sqlplus looks for .login in your $SQLPATH".
If login.sql is in the directory where you invoke the command, it will run, and that is without setting the SQLPATH variable. If you want login.sql to run from anywhere, SQLPATH variable, like the PATH variable, will do the trick.