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

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 30 Mar 2011 22:15:52 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Certain files in Windows/System32 are invisible in Cygwin
Message-ID: <20110330201552.GD25534@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
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.21 (2010-09-15)
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

On Mar 30 15:47, Eric Bracken wrote:
> This is a strange problem:  certain files in the Windows/System32
> directory are not visible from Cygwin:
> 
>     Studio(27): ls /cygdrive/c/Windows/System32/nbtstat.exe
>     ls: cannot access /cygdrive/c/Windows/System32/nbtstat.exe: No
> such file or directory
> 
> But other ones are:
> 
>     Studio(28): ls /cygdrive/c/Windows/System32/PING.EXE
>     /cygdrive/c/Windows/System32/PING.EXE
> 
> The system in question is Windows 7 64-bit (service pack 1)

Yeah, I thought so.  Ever heard about file system redirection?  If not,
see http://msdn.microsoft.com/en-us/library/aa384187%28VS.85%29.aspx

Hint: Try `ls /cygdrive/c/Windows/Sysnative/nbtstat.exe'

This has nothing to do with Cygwin, except that Cygwin is a 32 bit
application.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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