This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using cron with network share


On Tue, Jun 22, 2010 at 1:26 PM, Larry Hall (Cygwin) <> wrote:
> On 6/22/2010 2:20 PM, Oren Cheyette wrote:
>>
>> I did finally get it to work by using the UNC path. I had thought that it
>> was
>> always preferable to use a unix-style path, particularly since cygwin now
>> warns about using W32-style paths.
>
> If you're talking about using '\' as the path separator, yes, it is always
> preferable to use '/' instead. ?However, with Cygwin, there is no reason
> you cannot use '/' for UNC paths, just like you can with DOS-like paths
> that Cygwin typically permits (i.e. C:/local/directory).
>
>> Thanks very much for the help.
>
> Glad I could help.
>
> --
> Larry Hall ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?http://www.rfk.com
> RFK Partners, Inc. ? ? ? ? ? ? ? ? ? ? ?(508) 893-9779 - RFK Office
> 216 Dalton Rd. ? ? ? ? ? ? ? ? ? ? ? ? ?(508) 893-9889 - FAX
> Holliston, MA 01746

I always use forward slashes for UNC paths in Cygwin.

Typing 'ls //someserver/someshare' is much easier to look at than 'ls
\\\\someserver\\someshare' don't you think?

Although hitting the hidden admin shares does require a slash 'ls
//someserver/ADMIN\$'

-Jason

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]