delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/06/19:50:34

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=rr/mvLD/kB29it8t
RJx26OB6Vl95fP9cNLTzA/tPm2V0sslAeabk88MI5mSSB0soQ+KCxVbgLTraz76j
G8osXoYjq+Mo2QaueRSa6txemRqeJ4GqL6anCG2+/GPjW5jUmNnMLuE2SzHj97+e
E3eZ4G6fZP4uLWo9psZ/txq1UmM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=yYZPT6YFdjfWh4SqxAc9Id
8HNHw=; b=Oec8YYmPAr8BH55ePCwmvGfpMiz7eI6HCUP2Lw3rw85uGEhWDoeSq6
JiMpQsHM6HUdxZluzlQLuhai7uumKKDhTvqMLtAUfEzKKBmYcHXuMuLYfDtW4mlQ
BvVzlvSXc7l2r55Pv8SJdMnnkB/I4npv1cGD38XdKmDdbJjqwMwsg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Fri, 7 Feb 2014 04:39:33 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1037990834.20140207043933@mtu-net.ru>
To: mrushton <mrushton AT ptd DOT net>, cygwin AT cygwin DOT com
Subject: Re: Newbie Cygdrive questions
In-Reply-To: <1737153647.9966666.1391712802938.JavaMail.root@ptd.net>
References: <1737153647 DOT 9966666 DOT 1391712802938 DOT JavaMail DOT root AT ptd DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, mrushton!

> Ok ... I am converting my scripts and making progress. 

> But I have a question.  

> My old shell software would let me have a path as : 

> X:/INBOUND/CWSCRIPTS/myscript.sh


> To access this shared X drive under Cygwin it seems I have to do this : 

> /cygdrive/X/INBOUND/CWSCRIPTS/myscript.sh


> Is this correct ?  Is there a better way ?  

> And C: seems to be /cygdrive/C/

The true answer is - "depends"...
If you do not need interoperation between Cygwin and pure Windows stuff, you
could use either scheme, but the latter is preferred under Cygwin banner.
In case you DO need to work with Windows tools, the former scheme would
satisfy both worlds. (Windows does not see a difference betwen \ and / as
directory separators on the very low level, but this matters for a lot of
Cygwin tools.)


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 07.02.2014, <04:33>

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019