delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/05/07/06:52:01

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 929C63858D28
X-ASG-Debug-ID: 1683456637-0f60ac0c86cfeb30001-w5GHUG
X-Barracuda-Envelope-From: moss AT cs DOT umass DOT 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?
X-ASG-Orig-Subj: Re: [QUAR] Accessing outside datasets?
To: Bernard Rich <bernard DOT rich1957 AT gmail DOT com>, cygwin AT cygwin DOT com
References: <CAL9a8Ay=BJm_KWdBkge4UBFe__07fF6s7ynfwUtxNfw=UTtWMw AT mail DOT gmail DOT 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 AT cygwin DOT 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 AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Eliot Moss via Cygwin <cygwin AT cygwin DOT com>
Reply-To: moss AT cs DOT umass DOT edu
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT 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

- Raw text -


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