X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4C21005D.90903@cygwin.com>
References: <719383.40927.qm@web82106.mail.mud.yahoo.com> <4C21005D.90903@cygwin.com>
From: "DePriest, Jason R." <jrdepriest@gmail.com>
Date: Tue, 22 Jun 2010 13:39:38 -0500
Message-ID: <AANLkTikP7LXf6U8gAicIjoVPzTCS6ZSuTolxeWgFO6jg@mail.gmail.com>
Subject: Re: Using cron with network share
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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. =A0However, 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 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0htt=
p://www.rfk.com
> RFK Partners, Inc. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(508) 893-9=
779 - RFK Office
> 216 Dalton Rd. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(508) 8=
93-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

