From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id 18A6038EC9BB for ; Tue, 28 Jun 2022 14:49:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 18A6038EC9BB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x632.google.com with SMTP id u15so26254092ejc.10 for ; Tue, 28 Jun 2022 07:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=E9BHaFXNz0zu4FvxottO+tnw80z5hGD7XEyfnI3Ztzc=; b=NAREqq3+X7yfg8lFjdTR1P0Xfeacx1RjdCUkKU/hTOUY48xj2/QlU8+jKuxO9v7sBD YIc634YNLR76Loqqv1uImdnB14hsZtAmyefLYuaYRAA1C+Xq2OsB01kAJCqs7O52UJ10 o4G0/qSejXCL1OQoOu9Tu/MmF/vh2VfcQwB3G0/qtk9KHnMhaZa3e3K6LItoU9X7JXVw +6MKFwN5ATTraB0SDbCnK+ghHn30Hi+dDbI/QfhfeHzygYsDDVFbZooBoNqwN2Drq9Uu CSPMRvaVOH3ZvrEf85gr6SIcK+ZkunpmQcyS37Iq275apo0s87r759IcEPgLjBhdEc5j ygHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=E9BHaFXNz0zu4FvxottO+tnw80z5hGD7XEyfnI3Ztzc=; b=iZHJV67UcVRwNTXu7ZcVbQa7qj3W58+oyRM8rrt99WdkyIWm3h8egmwXKlxKfQJojG JC3PZQMkLy3/He8p2h40EIAaq6jVxO+fI/nEcOyv5O5XAdpLKYtHhAH5UT7DeQCQA2bD rTnSOQBc9JW3F99ucc3ZE8wcZIe3pQZp289gcvMc1+tAm7RdsQ4FDRLorbRdumIQFYQV HMWYSW2KlhPiV7POAQBC88YsnXydtmz1dUP5bp+M2kCEZFJBxn+UHUdA5hryNTSU/bOF f1BZAs9tBsyk5591CDu2T5oxMltYW4OrWvvaDERmHSH63CZ0RERte6tAYlT9wqCxeKZi vUsQ== X-Gm-Message-State: AJIora8hAY1cLwb25qnP25SM/TSn2lWq9IJbQfOzTKNeA7MVGzy1YyA6 bA5WoWU+A6yThv+t5HFKgnrTm/z2QQu9HswupmLoVzpC X-Google-Smtp-Source: AGRyM1ug5P4h1b+pXEcX9QeTCtAKayEXFlA6DJaubEiiEjF6kK0Q9M0XinZSUalFuCJi1GG2t5/EWxl7RB5h4SmPJts= X-Received: by 2002:a17:907:8a22:b0:722:e7cf:2665 with SMTP id sc34-20020a1709078a2200b00722e7cf2665mr18291509ejc.622.1656427743323; Tue, 28 Jun 2022 07:49:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Doug Henderson Date: Tue, 28 Jun 2022 08:48:51 -0600 Message-ID: Subject: Re: cygpath 3.3.4 : incorrect windows to unix path conversions To: cygwin Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2022 14:49:06 -0000 On Tue, Jun 28, 2022 at 1:46 AM Timothee Besset wrote: > > Hello, > > We are seeing some odd behavior from cygpath.exe when it is copied and used > outside the normal cygwin installation directory: > Don't do this if you just need to convert Linux style file paths to windows file paths. Use the cygpath.exe from MSYS2 by installing it and adding its bin directory to your windows path. This does not require the cygwin1.dll, and is designed to interoperate well with windows. If you need to interact with the cygwin environment from powershell, start powershell from the bash prompt so PS is embedded in the cygwin environment. Then all the mounts expected by cygwin programs are established, so when you run cygwin programs from PS, they run in the env they expect. HTH Doug -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com