X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Wed, 30 Mar 2011 22:29:03 +0200 From: Spiro Trikaliotis To: cygwin AT cygwin DOT com Message-ID: <20110330202902.GA30826@trikaliotis.net> Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: 109.45.113.69 X-SA-Exim-Mail-From: an-cygwin AT spiro DOT trikaliotis DOT net Subject: Re: Certain files in Windows/System32 are invisible in Cygwin X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: No (on trikaliotis.net); Unknown failure X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hello, * On Wed, Mar 30, 2011 at 03:47:16PM -0400 Eric Bracken wrote: > This is a strange problem: certain files in the Windows/System32 > directory are not visible from Cygwin: [...] > The system in question is Windows 7 64-bit (service pack 1), running [...] > The problematic file (nbtstat.exe) most definitely exists and can be > run from a DOS prompt window. Windows is lying to you: The file is *not* there. Windows Vista and Win7 in the 64 bit variants have the file system redirector (http://msdn.microsoft.com/en-us/library/aa384187%28VS.85%29.aspx, http://msdn.microsoft.com/en-us/library/aa384249%28VS.85%29.aspx) which makes all of this a mess. Cygwin is a 32 bit application; this, it does NOT see %WINDIR%\System32, but %WINDIR%\SysWOW64. I am sure nbtstat.exe does not exist there, right? HTH, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple