X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70B513857348
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1683456674;
	bh=9LKdGoRqwbJBFwFA3ve7k7Pby8DAO0eYNR85BFqW81I=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=t7t32l4JrPMZ31J54wDCG3YSjfvqv5SjABv7835M9CI/ToDa5AACAfTvwn72JGqeW
	 DrDL27LhzJ0B5P91SqBLx0b0PY65JrJtii98H0zNF4n/TAVYUjMkK08Vsx0oOk+bnO
	 Lwt/GpwqhhzZBdpGZzGGKEhUyr1fgqFhzi9b+IB4=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 929C63858D28
X-ASG-Debug-ID: 1683456637-0f60ac0c86cfeb30001-w5GHUG
X-Barracuda-Envelope-From: moss@cs.umass.edu
X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136
Message-ID: <7a5f573c-d6c3-6baf-b090-f66ea84fb3cb@cs.umass.edu>
X-Barracuda-RBL-Trusted-Forwarder: 192.168.50.148
Date: Sun, 7 May 2023 06:50:36 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.10.1
Subject: Re: [QUAR] Accessing outside datasets?
Content-Language: en-US
X-ASG-Orig-Subj: Re: [QUAR] Accessing outside datasets?
To: Bernard Rich <bernard.rich1957@gmail.com>, cygwin@cygwin.com
References: <CAL9a8Ay=BJm_KWdBkge4UBFe__07fF6s7ynfwUtxNfw=UTtWMw@mail.gmail.com>
In-Reply-To: <CAL9a8Ay=BJm_KWdBkge4UBFe__07fF6s7ynfwUtxNfw=UTtWMw@mail.gmail.com>
X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136]
X-Barracuda-Start-Time: 1683456637
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi
X-Barracuda-BRTS-Status: 1
X-Virus-Scanned: by bsmtpd at cs.umass.edu
X-Barracuda-Scan-Msg-Size: 863
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0
 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.108438
 Rule breakdown below
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
 KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Eliot Moss via Cygwin <cygwin@cygwin.com>
Reply-To: moss@cs.umass.edu
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 5/6/2023 11:44 PM, Bernard Rich via Cygwin wrote:
>   Hello, I have read the introductory advice but still do not understand how
> to access datasets stored on *C:* or on flash drives. Can you please point
> me to the correct reference or email me the instructions?

You can give a full path starting with /cygdrive/c in place of the C:. Then
replace every \ in a Windows path with a /.  Quote the whole thing if it has
spaces or strange characters in it.

Alternatively you can use the cygpath program to convert a Windows path to
a cygwin one.  For example:

cygpath -ua 'C:\Users\moss'

results in

/cygdrive/c/Users/moss

Note the quoting to avoid the usual interpretation of \ by the cygwin shell.

This can be used in a command, e.g.,: ls $(cygpath -ua 'C:\Users\moss')

man cygpath will tell you all about the program.  HTH -- EM

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