delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/16/07:42:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_20
X-Spam-Check-By: sourceware.org
Message-ID: <4E733603.2030404@rblasch.org>
Date: Fri, 16 Sep 2011 13:41:55 +0200
From: Ronald Blaschke <mailing-lists AT rblasch DOT org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.9(0.237/5/3): not seeing some Windows files
References: <7A978A88-2B2C-4160-9D41-D090FB81E851 AT creativegroup DOT tv> <4E711C35 DOT 8070606 AT gmail DOT com> <20896DC5-5604-4F92-A7CD-89C7116BAA8D AT creativegroup DOT tv> <4E712138 DOT 5030005 AT sbcglobal DOT net> <4A73DC4F-842C-4D24-BE67-370CA640DC33 AT creativegroup DOT tv>
In-Reply-To: <4A73DC4F-842C-4D24-BE67-370CA640DC33@creativegroup.tv>
X-SPF-Scan-By: smf-spf v2.0.2 - http://smfs.sf.net/
Received-SPF: None (nitweb2.nit.at: domain of mailing-lists AT rblasch DOT org does not designate permitted sender hosts) receiver=nitweb2.nit.at; client-ip=188.23.168.66; envelope-from=<mailing-lists AT rblasch DOT org>; helo=[192.168.15.4];
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 09/15/2011 11:02 PM, Robert Perlberg wrote:
> Very interesting.  Thank you for that information.  My goal here is to
> run ntbackup via ssh.  Based on this information I copied ntbackup.exe
> to another folder that does not get redirected and I can invoke it from
> there via ssh.  It seems to run fine, so I question why Microsoft chose
> to make it inaccessible to 32 bit apps.  My concern is that now I have
> to keep track of when ntbackup.exe gets updated and update the copy.

Have a look at the File System Redirector article at
http://msdn.microsoft.com/en-us/library/aa384187.aspx .

In short, for 32-bit processes running under WOW64, %windir%\System32 is
redirected to %windir%\SysWOW64, so "old" 32-bit processes continue to
see a 32-bit environment.  Starting with *Vista*, they added
%windir%\Sysnative to point to the 64-bit %windir%\System32.

There's more to it, e.g. %windir%\regedit.exe also being redirected, so
make sure to read the article to avoid further surprises.

Ron

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