Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen \(garbage mail\)" To: Subject: RE: 1.3.22-1 cannot find certain commands Date: Thu, 15 May 2003 22:39:32 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <16067.34423.565000.192717@missioncriticalit.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 Importance: Normal Hmm... this might help: $ where WHERE: No pattern(s). Usage: WHERE [/r dir] [/qte] pattern ... /r - recurse starting with directory dir /q - quiet, use exit code /t - times, display size and time /e - .EXE, display .EXE type /Q - double quote the output WHERE notepad.exe Find ALL notepad.exe along the path WHERE $windir:notepad.exe Find ALL notepad.exe along %windir% WHERE /r \ notepad.exe Find ALL notepad.exe on current drive WHERE /r . notepad.exe Find ALL notepad.exe recursing on current directory WHERE /r c:\windows\system notepad.exe Find ALL notepad.exe recursing on c:\windows\system Wildcards, * ?, allowed in bar in all of above. $ where where.exe c:\Program\Win98RK\where.exe i.e. it is from the Windows 98 Resource Kit (Win98 CD!) $ where ls.exe C:\Program\cygwin\bin\ls.exe $ where cpp.exe C:\Program\cygwin\bin\cpp.exe c:\PROGRAM\BC5\BIN\cpp.exe This won't show clashing directory entries though... IIRC I have read something about a directory named "ls" being found by stat() before ls.exe... or some such, search the archives? /Hannu E K Nevalainen, Mariefred, Sweden -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/