delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/30/16:30:19

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 <an-cygwin AT spiro DOT trikaliotis DOT net>
To: cygwin AT cygwin DOT com
Message-ID: <20110330202902.GA30826@trikaliotis.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTikWgv=LCe-JMb9VWjuuJTCLDRM0dhXyU7GsWZMr AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <AANLkTikWgv=LCe-JMb9VWjuuJTCLDRM0dhXyU7GsWZMr@mail.gmail.com>
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019