This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie Cygdrive questions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]