X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=gBV98ubY95NV69fp
	LJibikKtu+QNGR5b15P++uPUNXa87WAAda8M/2v+5Yn5PJx+u/FNhyRvzGdgSPMy
	cbCJ8FCHx0oFOQOdtexvsJ3S2wr8m3ec5KT8X0uQsQnhvU2CZkIrnNfjVu+EokZH
	J4LKUPUbERgOSXLPAUKkSkGB/lA=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=AlgWHafrqU5ogdawHJHPVY
	cvR84=; b=dfZJR+2VxT5e1Rf8Tq+EEvAQzowIv/QNdcsqGtyXtng2fOzheFCVWZ
	cm0/GqY3uVnbZUGwg0NeOLGPu91IIrcnqxUrQLXgll2rmKwKeP/2ImOozIV4H2WQ
	+Wik3YH92n5hGTiISNBXdE3smYxZtKRZsUGwsY+kFc3k4Y4uXrlRw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 10 Nov 2014 23:50:09 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1909239694.20141110235009@yandex.ru>
To: Andrew DeFaria <Andrew@DeFaria.com>, cygwin@cygwin.com
Subject: Re: how to embed shell script within a .BAT file
In-Reply-To: <m3r67t$1lf$1@ger.gmane.org>
References: <545D3E21.2030306@bopp.net>   <0D835E9B9CD07F40A48423F80D3B5A702E839BB9@USA7109MB022.na.xerox.net>  <1763099025.20141110215741@yandex.ru> <m3r67t$1lf$1@ger.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Andrew DeFaria!

>>> (CMD.EXE doesn't like UNC paths.) I hadn't realized that I could
>>> pipe a script into bash.
>>
>> reg ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /f /v "DisableUNCCheck" /t REG_DWORD /d 1
>>
>> And speaking of "doesn't like", it only don't like it's own CWD to be UNC path.
>> You can still start programs by full UNC path from CMD.
>> Though, with correct settings (see above), the point is moot.

> I always thought it odd that MS invents UNC's then fails to support them 
> properly in their own tools.

> Try pushd on a UNC path...

Since migration to Win7, I'm using native symlinks, and pretty happy about it.
I still occasionally hit the UNC path here and there from old shortcuts, but
overall, it's all "local" filesystem. :b


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 10.11.2014, <23:49>

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

