Using cygwin tar from a DOS window
Wayne Davison
wayne@opencoder.net
Wed Sep 2 21:30:34 GMT 2020
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..
More information about the Cygwin
mailing list