public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: "Nellis, Kenneth" <Kenneth.Nellis@xerox.com>, cygwin@cygwin.com
Subject: Re: how to embed shell script within a .BAT file
Date: Mon, 10 Nov 2014 19:05:00 -0000	[thread overview]
Message-ID: <1763099025.20141110215741@yandex.ru> (raw)
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E839BB9@USA7109MB022.na.xerox.net>

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


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

  parent reply	other threads:[~2014-11-10 19:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 21:26 Nellis, Kenneth
2014-11-07 21:32 ` Eric Blake
2014-11-09 22:05   ` Andrey Repin
2014-11-07 21:48 ` Jeremy Bopp
2014-11-07 21:54   ` Eliot Moss
2014-11-10 14:49   ` Nellis, Kenneth
2014-11-10 18:09     ` Achim Gratz
2014-11-11 16:12       ` Nellis, Kenneth
2014-11-11 20:05         ` Andrey Repin
2014-11-10 19:05     ` Andrey Repin [this message]
2014-11-10 20:13       ` Andrew DeFaria
2014-11-10 21:05         ` Andrey Repin
2014-11-09 22:05 ` Andrey Repin
2014-11-10  0:35   ` Mike Brown
2014-11-10  2:20     ` Andrey Repin
2014-11-10  4:24       ` Mike Brown
2014-11-09 23:01 ` cyg Simple

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1763099025.20141110215741@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=Kenneth.Nellis@xerox.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).