Newbie Cygdrive questions

Andrey Repin anrdaemon@yandex.ru
Fri Feb 7 00:50:00 GMT 2014


Greetings, mrushton!

> 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/

The true answer is - "depends"...
If you do not need interoperation between Cygwin and pure Windows stuff, you
could use either scheme, but the latter is preferred under Cygwin banner.
In case you DO need to work with Windows tools, the former scheme would
satisfy both worlds. (Windows does not see a difference betwen \ and / as
directory separators on the very low level, but this matters for a lot of
Cygwin tools.)


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.02.2014, <04:33>

Sorry for my terrible english...


--
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