This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Certain files in Windows/System32 are invisible in Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]