Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Newbie question - how do I choose my working directory?

Re: Newbie question - how do I choose my working directory?

From: Niall Litchfield <niall.litchfield_at_dial.pipex.com>
Date: Wed, 16 Mar 2005 20:25:40 -0000
Message-ID: <4238961b$0$10937$cc9e4d1f@news-text.dial.pipex.com>


"Whatever" <Gan_spam_ar_bith_at_ireland.com> wrote in message news:iqoe319q9da24hci3qud9tfjlqt6tqqs2j_at_4ax.com...
>
>
>
> Hi all,
>
> I am currently trying to learn Oracle, but I can't figure out how to
> change my working directory.
>
> I have scripts in G:\Paul, so at the prompt in SQL *Plus, I issued the
> command
>
> host cd g:\paul.

what do you want. To run sqlplus when you are currently in g:\paul or to specify where you run scripts from so you don't have to type the full path? If it is the latter, my guess is that it is, and you are on windows which seems likely then you need to edit the sqlpath setting in the registry under HKLM\SOFTWARE\ORACLE\(some easily discovered key which varies according to version). this registry key takes a ; separated list of directories and searches them in order when you wish to run a script using start or @ in sqlplus.

-- 
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com 
Received on Wed Mar 16 2005 - 14:25:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US