X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=RzoZUDl8K2/ynaBTjebxvhyqxz+rZ/94z14gWGREeRU aNXqsWwJ0t8RTPDDvs0RGnnmmFbBiBcKURvlhqNmqp+jhrcAPrnAK5LV2VpEe4ze 9sSaAFet9coMgPpJqHURregdoORvYumaH7lV2uAhHkV4a1RosZTUi7xmE5JUiC/g = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=XIs+s/5TjxUepog6C+z2TerJ5O4=; b=B0vd1+/bWPdXGGhKx 8q8J+6dzM5Mv8iRrjHMr9Z9zDk99FJ2w8ysT4yFMXaSyV1XIPuEY1tG9CCl1oR6e GntfIa0/RQ17mkusiVDHAwyPVLLFRzlBCPGvic1jnVoFi1SxA1nBQmoWciFonGmw GlHtzotCMRHIfsfqzBhiRW25JE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: proxyz16.mailnet.ptd.net Message-ID: <52F43166.6040303@ptd.net> Date: Thu, 06 Feb 2014 20:05:42 -0500 From: Mike Rushton User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Andrey Repin Subject: Re: Newbie Cygdrive questions References: <1737153647 DOT 9966666 DOT 1391712802938 DOT JavaMail DOT root AT ptd DOT net> <1037990834 DOT 20140207043933 AT mtu-net DOT ru> In-Reply-To: <1037990834.20140207043933@mtu-net.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes I see. What would you say to this ? I have to use an EDI translator - it runs under windows/dos and had unix versions I was trying this ... but the program needed to see the path of a config file ... after the -cp switch. /cygdrive/c/gentran61SA/lftran /cygdrive/c/gentran61sa/data/EDN -id -cp /cygdrive/c/Gentran61SA It gave me errors can not open file /cygdrive/c/Gentran61SA\ediprim.cfg. It was like the program could not figure out what style of paths to use. I changed it to : (escape out of bash and run this code) ! c:/gentran61SA/lftran c:/gentran61sa/data/EDN -id -cp c:/Gentran61SA and it worked perfectly. Is there a better way to do this ? On 2/6/2014 7:39 PM, Andrey Repin wrote: > 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 AT yandex DOT 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