X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 826E7385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1678849691; bh=xz3nDSWAS3AY+juVW+OYdfGIw4Sw5L9XFXzqOPvPlqI=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=W2gmcZQTp2+E8NaT5tXoaVa7ymoueWvv6tZNtoEHX5IZxDSWAC7lRWWYyziwYHXTv 98yqVtHd+GNTA1QNtzqB/22LbJkggcW6x3kmclV5fCmnNygy09TaTywe+kYvHbi5q9 82v04XKEZU3wFjhgEdcJ99IwbF6TcUo6iFbd4HXY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F2863858D20 Message-ID: <089bf199-7d23-43ba-3a3b-e0bd6dddc5eb@cs.umass.edu> Date: Tue, 14 Mar 2023 23:07:54 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: exe in path directory, "command not found" Content-Language: en-US To: WyntrHeart , "cygwin AT cygwin DOT com" References: <5qX4xu9puPlJx_NA1mLmAZHSRFqMNOeQc7F2TddnyUMnEkBqGYqoeBrooBc-gc1WHWtQhDNPzg_la1O2qRZPv9jFoZ5-zQJ-xaMU7uvW4Iw=@proton.me> In-Reply-To: <5qX4xu9puPlJx_NA1mLmAZHSRFqMNOeQc7F2TddnyUMnEkBqGYqoeBrooBc-gc1WHWtQhDNPzg_la1O2qRZPv9jFoZ5-zQJ-xaMU7uvW4Iw=@proton.me> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , From: Eliot Moss via Cygwin Reply-To: moss AT cs DOT umass DOT edu Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" On 3/14/2023 11:00 PM, WyntrHeart via Cygwin wrote: > I've added /cygdrive/c/program\ files/notepad++ to my path in .bash_profile, double checking with echo to make sure that the directory is in the path. But when I type "notepad++.exe" or "notepad++" I get "bash: notepad++: command not found". I did restart the terminal before testing to make sure that .bash_profile was loaded and path was updated. Is there something I'm doing wrong here or is this a bug? That would be: /cygdrive/c/Program\ Files/notepad++ -- assuming that's a *folder* that contains notepad++.exe ... Note that path (written PATH, and generally exported) contains folder names separated by colons. To add to the end you can do: export PATH="$PATH:/cygdrive/c/Program Files/notepad++" Note: no \ in front of space inside the quotes. Best - Eliot Moss -- 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