Re: Question about Oracle and DBA_DIRECTORIES

From: Jared Still <jkstill_at_gmail.com>
Date: Fri, 11 Feb 2011 09:56:08 -0800
Message-ID: <AANLkTinpRQMxLhrMsc=rWchfwf6F+oJEGU-Uh-UhYUQY_at_mail.gmail.com>



On Fri, Feb 11, 2011 at 8:27 AM, Niall Litchfield < niall.litchfield_at_gmail.com> wrote:

> In a word yes. forward slash has been valid on Windows for years. (which
> helps when you forget which o/s you are on :) - until you then type ls -l :(
> ).
>
>

The rules around using '/' in windows appear to be a little convoluted. From the command line quotes must be used, and the final '\' cannot be converted to '/',
as seen below.

C:\Users\still>dir c:\windows\system32\cmd.exe  Volume in drive C is OS
 Volume Serial Number is 147D-03D3

 Directory of c:\windows\system32

07/13/2009  05:14 PM           301,568 cmd.exe
               1 File(s)        301,568 bytes
               0 Dir(s)  141,430,095,872 bytes free

C:\Users\still>dir "c:/windows/system32/cmd.exe"  Volume in drive C is OS
 Volume Serial Number is 147D-03D3

 Directory of c:\windows\system32

File Not Found

C:\Users\still>dir "c:/windows/system32\cmd.exe"  Volume in drive C is OS
 Volume Serial Number is 147D-03D3

 Directory of c:\windows\system32

07/13/2009  05:14 PM           301,568 cmd.exe
               1 File(s)        301,568 bytes
               0 Dir(s)  141,430,083,584 bytes free

C:\Users\still>

This is just the command processer, cmd.exe.

The DOS/windows kernels have always used '/' internally IIRC.

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist Oracle Blog: http://jkstill.blogspot.com Home Page: http://jaredstill.com

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Feb 11 2011 - 11:56:08 CST

Original text of this message