delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/10/16:05:27

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1909239694.20141110235009@yandex.ru>
To: Andrew DeFaria <Andrew AT DeFaria DOT com>, cygwin AT cygwin DOT com
Subject: Re: how to embed shell script within a .BAT file
In-Reply-To: <m3r67t$1lf$1@ger.gmane.org>
References: <545D3E21 DOT 2030306 AT bopp DOT net> <0D835E9B9CD07F40A48423F80D3B5A702E839BB9 AT USA7109MB022 DOT na DOT xerox DOT net> <1763099025 DOT 20141110215741 AT yandex DOT ru> <m3r67t$1lf$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
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 AT yandex DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019