delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/02/17:31:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 88E43387090E
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=opencoder.net
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=wayne AT opencoder DOT net
X-Sender-Id: dreamhost|x-authsender|dropbox AT opencoder DOT net
X-Sender-Id: dreamhost|x-authsender|dropbox AT opencoder DOT net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|dropbox AT opencoder DOT net
X-MailChannels-Auth-Id: dreamhost
X-Spill-Cure: 1513767f2456e2fa_1599082247507_1373985634
X-MC-Loop-Signature: 1599082247507:3809406837
X-MC-Ingress-Time: 1599082247507
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=opencoder.net; h=
mime-version:references:in-reply-to:from:date:message-id:subject
:to:cc:content-type; s=opencoder.net; bh=K9DURNcUKW5LX/LfZ2tsILc
y0e4=; b=EUvRIr9U2PjP1dgWGhUx+0jezRE1mAOyBEzmuuK2com+Bxugqa5cRx4
Ou5Zic+msh7yx5pordiu2QKT95Bv3XwrmlZbSTuNqTnLy/tC02gGgAy8O/1uwQ2B
qyUB9Gg4YfQM47b9FKRgJyWyUcqcGS2yZ2yuTOi6DG68YqV5Itf8=
X-Gm-Message-State: AOAM532VBJosPnT1yFto2EdwjhcIPZGD2ero3Scqil+pfuy6/SClIQjz
SC9+cDndaEvrsBM9mLcz3rskx0ZYyKeF+kd/ORA=
X-Google-Smtp-Source: ABdhPJzUOlp1XVjzQephJQkw/D+pNNI9Iq/XETN4fZKsgBwC69bfKzQENLLCLCia/DHJwfpBmAbp0Lmt3UYk2XKdh6M=
X-Received: by 2002:a25:7809:: with SMTP id t9mr12884328ybc.359.1599082245259;
Wed, 02 Sep 2020 14:30:45 -0700 (PDT)
MIME-Version: 1.0
References: <092af206-4d4a-28d9-ccdf-bdf2eafe5edd AT obj-sys DOT com>
In-Reply-To: <092af206-4d4a-28d9-ccdf-bdf2eafe5edd@obj-sys.com>
X-DH-BACKEND: pdx1-sub0-mail-a15
From: Wayne Davison <wayne AT opencoder DOT net>
Date: Wed, 2 Sep 2020 14:30:34 -0700
X-Gmail-Original-Message-ID: <CAHSx_SuM7c1e4tYPq7r2SMmSUidH14oXkWpmrt-LDeg6OogjYA AT mail DOT gmail DOT com>
Message-ID: <CAHSx_SuM7c1e4tYPq7r2SMmSUidH14oXkWpmrt-LDeg6OogjYA@mail.gmail.com>
Subject: Re: Using cygwin tar from a DOS window
To: Douglas Coup <dcoup AT obj-sys DOT com>
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedrudefledgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfhgjhfffkffuvfgtsehttdertddttdejnecuhfhrohhmpeghrgihnhgvucffrghvihhsohhnuceofigrhihnvgesohhpvghntghouggvrhdrnhgvtheqnecuggftrfgrthhtvghrnhepudduheelvdefffethfffffejueeggefhtddthfeukeehleeghfelgffhudfhkefhnecukfhppedvtdelrdekhedrvdduledrudejvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdqhigsuddqfhdujedvrdhgohhoghhlvgdrtghomhdpihhnvghtpedvtdelrdekhedrvdduledrudejvddprhgvthhurhhnqdhprghthhephggrhihnvgcuffgrvhhishhonhcuoeifrgihnhgvsehophgvnhgtohguvghrrdhnvghtqedpmhgrihhlfhhrohhmpeifrgihnhgvsehophgvnhgtohguvghrrdhnvghtpdhnrhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhm
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT 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..
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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