This is the mail archive of the
mailing list for the Cygwin project.
RE: Path Name Help
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: Sanjay Gupta <SGupta at Epylon dot com>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 28 Feb 2002 15:54:36 -0500
- Subject: RE: Path Name Help
OK, then you want to review some good documents on basic tenants of UNIX and
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 firstname.lastname@example.org
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.
>From: Larry Hall (RFK Partners, Inc) [mailto:email@example.com]
>Sent: Thursday, February 28, 2002 12:38 PM
>To: Sanjay Gupta; 'firstname.lastname@example.org'
>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
> >give the name of export file, I am not sure how to include the path
> >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 email@example.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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html