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 A57D83857009 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=obj-sys.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dcoup AT obj-sys DOT com To: cygwin AT cygwin DOT com From: Douglas Coup Subject: Using cygwin tar from a DOS window Message-ID: <092af206-4d4a-28d9-ccdf-bdf2eafe5edd@obj-sys.com> Date: Wed, 2 Sep 2020 10:58:40 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.1 MIME-Version: 1.0 Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.obj-sys.com X-AntiAbuse: Original Domain - cygwin.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - obj-sys.com X-Get-Message-Sender-Via: server.obj-sys.com: authenticated_id: dcoup AT obj-sys DOT com X-Authenticated-Sender: server.obj-sys.com: dcoup AT obj-sys DOT com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_40, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * 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 List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 082ExCWQ006233 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.  Since from a DOS window I want Windows .exe files to be found for all situations except tar, I've copied the Cygwin tar.exe to a folder of its own and placed that folder in the PATH at the beginning to make sure Cygwin's tar.exe is found before the Windows tar.exe. If I use tar from a Cygwin window, it works.  The tar.exe is found in Cygwin's own /usr/bin directory. But if I use tar from a DOS window, I get a pop-up window that says the program can't start because cyggcc_s-1.dll can't be found.  This DLL is not present in the Cygwin hierarchy.  What's strange is if I run "cygcheck tar" from a Cygwin window, that DLL is not listed as a dependency. This configuration worked successfully on my previous Windows 10 workstation, where I had 32-bit Cygwin installed, including tar v1.27. Any thoughts?  I'm wondering if I need to downgrade to tar v1.27 on my new workstation. Regards, Douglas Coup -- Objective Systems, Inc. REAL WORLD ASN.1 AND XML SOLUTIONS Tel: +1 (484) 875-9841 Fax: +1 (484) 875-9830 Toll-free: (877) 307-6855 (USA only) http://www.obj-sys.com -- 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