Thank you very much!
Bernard

On Sun, May 7, 2023 at 5:50 AM Eliot Moss <m...@cs.umass.edu> wrote:

> 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

Reply via email to