Hi,
Are you talking about SQL script or PL/SQL script?
When we are saving any sql or pl/sql script, default it will store in user's default location. Any SQL or pl/sql script you can execute using @ and saved script name in sqlplus. If you don't provide specific location then it will call from default location.
@test.sql <= it will call default location.
@d:\scripts\test.sql <= it will call from d:\scripts folder.
For getting default location of user in windows, kindly check cmd in windows. You can get default location of user in cmd (command line of windows).
For getting default location of user in Unix/Linux, check your shell prompt using command pwd. You will get default user location.
But if we are talking about stored pl/sql then it would stored in database itself. Then you should need to execute using "execute" command in sqlplus.
Example:
execute dbms_system <= it will execute dbms_system pl/sql procedure from database.
I think this would be helpful to you.
Thanks and regards,
Gitesh Trivedi
http://www.dbametrix.com/service.html