public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Wayne Davison <wayne@opencoder.net>
To: Douglas Coup <dcoup@obj-sys.com>
Cc: cygwin <cygwin@cygwin.com>
Subject: Re: Using cygwin tar from a DOS window
Date: Wed, 2 Sep 2020 14:30:34 -0700	[thread overview]
Message-ID: <CAHSx_SuM7c1e4tYPq7r2SMmSUidH14oXkWpmrt-LDeg6OogjYA@mail.gmail.com> (raw)
In-Reply-To: <092af206-4d4a-28d9-ccdf-bdf2eafe5edd@obj-sys.com>

On Wed, Sep 2, 2020 at 7:58 AM Douglas Coup wrote:
> I need the Cygwin tar to be found regardless of whether I'm using a
> Cygwin command window or a DOS command window.

I think the easiest way to run the cygwin tar from CMD (if you don't
want to just put your cygwin bin dir on your Windows PATH) is to
create a bat file that calls the cygwin tar. That way you always get
the latest cygwin tar & dll versions from the main install.  Something
like this seems to work fine (with very minimal testing):

@echo off
PATH=C:\cygwin64\bin
C:\cygwin64\bin\tar %*

..wayne..

  parent reply	other threads:[~2020-09-02 21:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02 14:58 Douglas Coup
2020-09-02 16:53 ` Bill Stewart
2020-09-02 17:00   ` Douglas Coup
2020-09-02 17:28     ` Eliot Moss
2020-09-02 17:40       ` Douglas Coup
2020-09-02 17:50         ` Bill Stewart
2020-09-02 17:59         ` Eliot Moss
2020-09-02 18:09           ` Thomas Wolff
2020-09-02 21:30 ` Wayne Davison [this message]
2020-09-02 21:53   ` Bill Stewart

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=CAHSx_SuM7c1e4tYPq7r2SMmSUidH14oXkWpmrt-LDeg6OogjYA@mail.gmail.com \
    --to=wayne@opencoder.net \
    --cc=cygwin@cygwin.com \
    --cc=dcoup@obj-sys.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).