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

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=l1aONgitkooPZAs5
qSgfP5ja+4G3Q4D5uzqBYqWyRuORGrEPWz6WmtKoT3omQOKdw46ezhJ+FMsIO0oH
vBHthGeDKaKTq1FdJVOhZiXI3Am/0q/nXdwm7nVCrM4v6zLaYUYnJeZjy7mjVneg
ZRAPUv/VlVRAX5vR0TEW7n3Cajo=
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=7QoYT8Ra1+7r1/lgo5OpFj
grdkY=; b=Nilng5tZjWngNRuvew8DlM/xsYrSZkeVstUaD+Gx5shoK8sdIA6Je4
OlOo/uJhmIEanuG9oMxwpOR3eRtRQ1WBdUTPmcv+TtzSqgR4AvD8wYlr976MifyQ
Q1XWT1s/JZ7IlvvxlN9wOfWr9QwNtA0MUw+r2L5LM9/5p44id7Ex0=
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 21:57:41 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1763099025.20141110215741@yandex.ru>
To: "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com>, cygwin AT cygwin DOT com
Subject: Re: how to embed shell script within a .BAT file
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E839BB9@USA7109MB022.na.xerox.net>
References: <545D3E21 DOT 2030306 AT bopp DOT net> <0D835E9B9CD07F40A48423F80D3B5A702E839BB9 AT USA7109MB022 DOT na DOT xerox DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

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 AT yandex DOT ru) 10.11.2014, <21:56>

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