Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020228154735.02452db8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 28 Feb 2002 15:54:36 -0500 To: Sanjay Gupta , "'cygwin AT cygwin DOT com'" From: "Larry Hall (RFK Partners, Inc)" Subject: RE: Path Name Help In-Reply-To: <657B20E93E93D4118F9700D0B73CE3EA0D397199@goofy.epylon.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" OK, then you want to review some good documents on basic tenants of UNIX and it's shells. This is neither an Oracle issue nor a Cygwin one. It's a cockpit error. For this particular issue, you can resolve your problem by quoting your path or escaping the backslashes. You may find that 'exp' allows you to use '/' for the path separator, in which case you can substitute it for '\' and not need to make any other syntax changes. But that's dependent on how strict 'exp' is with path separators. I personally can't say. Reading up on how UNIX shells works would be a good basis for your continued work in this area and save you the time of looking for a list to post future questions like this to. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 03:48 PM 2/28/2002, Sanjay Gupta wrote: >I am not sure whether this is Oracle issue because if I use the same command >from the command prompt of Windows, it does work. >e.g. the following command works from windows does prompt. The files gets >created in d:\oracle8i\exp directory. >exp system/manager file=d:\Oracle8i\Exp\Exp.dmp full=Y > >but the same thing does not work well when executed from cygwin shell. > > >-----Original Message----- >From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com] >Sent: Thursday, February 28, 2002 12:38 PM >To: Sanjay Gupta; 'cygwin AT cygwin DOT com' >Subject: Re: Path Name Help > > >At 03:34 PM 2/28/2002, Sanjay Gupta wrote: > >OS : Win NT 4.0 SP 6a > > > >I am writing shell script which does Oracle Export. In the script, I have >to > >give the name of export file, I am not sure how to include the path > >information. > > > >Example :- > > > >exp system/manager file=/usr/exp.dmp full=Y > > > >see the file= parameter, when I use the above command then the Oracle exp > >utility is not able to recognize the file information, it gives error > >"failed to open /usr/exp.dmp for write" > >So looks like unix style path does not work. > > > >Then I tried window style path > > > >exp system/manager file=d:\Oracle8i\Exp\Exp.dmp full=Y > > > >This works but it does not create file in d:\Oracle8i\Exp directory but in > >creates file in D root directory i.e. in D:\ with name oracle8iexpexp.dmp. > >So this also does not create file in appropiate directory. > > >Sounds like a problem that you should be asking Oracle about, or am I >missing why this is a Cygwin issue? > > > >Larry Hall lhall AT rfk DOT com >RFK Partners, Inc. http://www.rfk.com >838 Washington Street (508) 893-9779 - RFK Office >Holliston, MA 01746 (508) 893-9889 - FAX > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/