delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/15/23:41:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-EN-OrigOutIP: 10.20.18.15
X-EN-IMPSID: Y3gm1g0010KWaAJ013gmzM
From: "Leon Vanderploeg" <leonv AT vaultnow DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Cygwin 1.7.8 on Windows 7 Pro x64 Doesn't See Programs Added to C:\Windows\System32 Directory
Date: Fri, 15 Apr 2011 21:40:41 -0600
Message-ID: <000001cbfbe8$114b19b0$33e14d10$@vaultnow.com>
MIME-Version: 1.0
X-EN-UserInfo: ca4eb83b29c199dc675fd93de881b90e:2283ef65109048eed6984feda31515c6
X-EN-AuthUser: leonv AT vaultnow DOT com
X-EN-OrigIP: 75.71.150.252
X-EN-OrigHost: c-75-71-150-252.hsd1.co.comcast.net
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

Greetings,

I recently loaded Windows 7 Pro x64 on my laptop, and installed Cygwin
1.7.8.  I run a (GCC Compiled) backup program that calls diskshadow.exe --
which I added to the C:\Windows\System32 directory.  The program faults
because the shell call can't find the program.

The Path variable is set with C:\Windows\System32 as the first entry, and
there are no errors.  I've started new command prompts each time I edited
the Windows PATH variable, and even tried rebooting.

Opening an elevated command prompt, windows finds the program just fine from
the path variable.  Running Bash, the which command doesn't find
diskshadow.exe, even though it is there (in C:\Windows\System32).  

While still in the bash window (from an elevated command prompt), If I cd to
/cygdrive/c/Windows/System32 and do "ls -la disk*", it finds other disk
programs such as diskpart.exe, but not diskshadow.exe, even though I know it
is there!  This is also true of libcurl-3.dll that I added to
C:\Windows\System32.    Windows sees it fine, but not bash.  

I have been reading documentation and googling till I can't see straight.

Can anyone please help me understand what is happening?

Thanks in advance!
Leon




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