This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Newbie Cygdrive questions
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: mrushton <mrushton at ptd dot net>, cygwin at cygwin dot com
- Date: Fri, 7 Feb 2014 04:39:33 +0400
- Subject: Re: Newbie Cygdrive questions
- Authentication-results: sourceware.org; auth=none
- References: <1737153647 dot 9966666 dot 1391712802938 dot JavaMail dot root at ptd dot net>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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