delorie.com/archives/browse.cgi | search |
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:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=iBul6NGu6OL8u1eG | |
2BXiM7VA5BdT6liC630rnLCwY+VQiyRFLOxUu6v2GU+fQUmCkZKwhf8+oiXvvu43 | |
6OiOeeFJ+4IskmHTf6SINs5msTGuq9By3nLx1Ui0/cna1GEavS5zFbtfMa2jMucP | |
Ks/RMundmLuo7NARfRoPtPB72yI= | |
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:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=6S3njiWRDhky6lmkPkVJrE | |
V+2rY=; b=kcg5lwik+vLZiLz/L3QP/XzaW1xAFVBFnNwU2mbz1NnVRXM/1mUNdK | |
ylrtxH7V574KGX4MyDYbOK1U7r/aGfhNxLIk41TeFztQvzXOOHGrkzxEyU9kjp/j | |
8+ASkmIzfVnU1Z3WLgH9VW2Kyza9t87Of+++XBbNri/QLf2oQW49E= | |
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=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 |
X-HELO: | vms173023pub.verizon.net |
Message-id: | <52F3DBA3.3010301@cygwin.com> |
Date: | Thu, 06 Feb 2014 13:59:47 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Newbie Cygdrive questions |
References: | <1737153647 DOT 9966666 DOT 1391712802938 DOT JavaMail DOT root AT ptd DOT net> |
In-reply-to: | <1737153647.9966666.1391712802938.JavaMail.root@ptd.net> |
On 2/6/2014 1:53 PM, mrushton wrote: > 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/ Cygwin uses POSIX paths and this is the mechanism it uses to provide access to the drives using a POSIX path. So yes, this is the correct way to do what you want. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |