login.sql not running automatically?! Win10 [message #662077] |
Mon, 17 April 2017 09:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/369afcaf74f3e641b69f66797d8a2521?s=64&d=mm&r=g) |
GusGF
Messages: 10 Registered: July 2015 Location: UK
|
Junior Member |
|
|
I've setup the registry entry SQLPATH in Win10 with the directory containing my scripts. I've pasted the directory location in the registry into file explorer and the correct location is opened up!
But when I open up a command prompt and start a SQLPlus session the login.sql script doesn't automatically run.
C:\Users\username>sqlplus codd/codd@orcl
When I explicitly run the login script within the session above it runs fine!
So why doesn't it run when I call SQLPlus?
|
|
|
|
Re: login.sql not running automatically?! Win10 [message #662081 is a reply to message #662077] |
Mon, 17 April 2017 12:38 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.orafaq.com/forum/images/custom_avatars/102589.gif) |
Michel Cadot
Messages: 68648 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
Which version of SQL*Plus?
I never saw it not working from version 8.0 (I didn't remember if this key existed in version 7) to 12.1 and from Windows NT 3.51 to Windows 7, so I tend to think you did something wrong.
Did you modify the key before or after starting SQL*Plus?
Did you modify the key before or after starting the DOS box if you are running in DOS mode?
[Updated on: Mon, 17 April 2017 13:33] Report message to a moderator
|
|
|
|
|
|
|