Re: Using cygwin tar from a DOS window

2020-09-02 Thread Bill Stewart
On Wed, Sep 2, 2020 at 3:30 PM Wayne Davison wrote: Something like this seems to work fine (with very minimal testing): > > @echo off > PATH=C:\cygwin64\bin > C:\cygwin64\bin\tar %* > Keeping in mind that cmd.exe provides no environment variable scoping using scripts, I would recommend setlocal/e

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Wayne Davison
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)

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Thomas Wolff
Am 02.09.2020 um 19:59 schrieb Eliot Moss: On 9/2/2020 1:40 PM, Douglas Coup wrote: On 9/2/2020 1:28 PM, Eliot Moss wrote: On 9/2/2020 1:00 PM, Douglas Coup wrote: On 9/2/2020 12:53 PM, Bill Stewart wrote: On Wed, Sep 2, 2020 at 8:58 AM Douglas Coup wrote: But if I use tar from a DOS win

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Eliot Moss
On 9/2/2020 1:40 PM, Douglas Coup wrote: On 9/2/2020 1:28 PM, Eliot Moss wrote: On 9/2/2020 1:00 PM, Douglas Coup wrote: On 9/2/2020 12:53 PM, Bill Stewart wrote: On Wed, Sep 2, 2020 at 8:58 AM Douglas Coup wrote: But if I use tar from a DOS window ... Surely you don't mean DOS? DOS doesn't

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Bill Stewart
On Wed, Sep 2, 2020 at 11:40 AM Douglas Coup wrote: I did try copying all of the .dll files in the Cygwin bin folder to the > same folder where the copy of Cygwin's tar.exe sits. > Why is this step necessary? Is the cygwin install process not working? Bill -- Problem reports: https://cygwin

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Douglas Coup
On 9/2/2020 1:28 PM, Eliot Moss wrote: On 9/2/2020 1:00 PM, Douglas Coup wrote: On 9/2/2020 12:53 PM, Bill Stewart wrote: On Wed, Sep 2, 2020 at 8:58 AM Douglas Coup wrote: But if I use tar from a DOS window ... Surely you don't mean DOS? DOS doesn't exist in Windows any more (unless you a

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Eliot Moss
On 9/2/2020 1:00 PM, Douglas Coup wrote: On 9/2/2020 12:53 PM, Bill Stewart wrote: On Wed, Sep 2, 2020 at 8:58 AM Douglas Coup wrote: But if I use tar from a DOS window ... Surely you don't mean DOS? DOS doesn't exist in Windows any more (unless you are using an emulator like DosBox or a VM).

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Douglas Coup
On 9/2/2020 12:53 PM, Bill Stewart wrote: On Wed, Sep 2, 2020 at 8:58 AM Douglas Coup wrote: But if I use tar from a DOS window ... Surely you don't mean DOS? DOS doesn't exist in Windows any more (unless you are using an emulator like DosBox or a VM). Do you mean a cmd.exe console window? (c

Re: Using cygwin tar from a DOS window

2020-09-02 Thread Bill Stewart
On Wed, Sep 2, 2020 at 8:58 AM Douglas Coup wrote: But if I use tar from a DOS window ... > Surely you don't mean DOS? DOS doesn't exist in Windows any more (unless you are using an emulator like DosBox or a VM). Do you mean a cmd.exe console window? (cmd.exe is a Windows console-mode program th

Using cygwin tar from a DOS window

2020-09-02 Thread Douglas Coup
Hello Cygwin community. I've recently started using a new Windows 10 workstation, on which I've installed 64-bit Cygwin, including tar v1.29. Windows 10 has its own tar.exe, but I need the Cygwin tar to be found regardless of whether I'm using a Cygwin command window or a DOS command window.