Newbie Cygdrive questions

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Thu Feb 6 19:00:00 GMT 2014


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



More information about the Cygwin mailing list