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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; q=dns; s=default; b=Rt4qpFAl2fWL9iHk6chwOKWav8KQkT
	dfOrkDIRTJbF0G5FQGtgsZiianGyYBYpsNUMrKZ0FXhHdCJ+2cZ0BG0XQRrVcr1A
	srbA8rifm+FJrwU/YIPOahC8FoGcDdEAJGpAdrmWDdF0RYG3t0mvks4JSvPQlI77
	b+zzEbbfavZPM=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; s=default; bh=m3pf5MK3ruuZpQhaEcmwhCthtgU=; b=gQSx
	W8IOuExRmPv45Z/7Kv0bqqpKtyCveWMuufF10x5I3uoh2Sxmm5m3KF3qqe/7fExf
	+3GUYAqKmeSf9I8jozBzyTkq5jMzvlWffvMkyTMxDSsrwIa0J/RfSv0tGFy4C240
	TrS3i8CQGl2UB26fBJkSc8hmnD0A93T8/hEgjek=
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=1.4 required=5.0 tests=AWL,BAYES_50,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: how to embed shell script within a .BAT file
Date: Mon, 10 Nov 2014 12:12:44 -0800
Lines: 28
Message-ID: <m3r67t$1lf$1@ger.gmane.org>
References: <545D3E21.2030306@bopp.net> <0D835E9B9CD07F40A48423F80D3B5A702E839BB9@USA7109MB022.na.xerox.net> <1763099025.20141110215741@yandex.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To: <1763099025.20141110215741@yandex.ru>
X-IsSubscribed: yes

On 11/10/2014 10:57 AM, Andrey Repin wrote:
> Greetings, Nellis, Kenneth!
>
>> (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.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon@yandex.ru) 10.11.2014, <21:56>
>
> Sorry for my terrible english...
>
>

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...
-- 
Andrew DeFaria
http://defaria.com


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

