X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <000001cbfbe8$114b19b0$33e14d10$@vaultnow.com> References: <000001cbfbe8$114b19b0$33e14d10$@vaultnow.com> Date: Sat, 16 Apr 2011 09:27:42 +0200 Message-ID: Subject: Re: Cygwin 1.7.8 on Windows 7 Pro x64 Doesn't See Programs Added to C:\Windows\System32 Directory From: marco atzeri To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Sat, Apr 16, 2011 at 5:40 AM, Leon Vanderploeg wrote: > Greetings, > > I recently loaded Windows 7 Pro x64 on my laptop, and installed Cygwin > 1.7.8. =A0I run a (GCC Compiled) backup program that calls diskshadow.exe= -- > which I added to the C:\Windows\System32 directory. =A0The 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. =A0I've started new command prompts each time I edit= ed > the Windows PATH variable, and even tried rebooting. > > Opening an elevated command prompt, windows finds the program just fine f= rom > the path variable. =A0Running Bash, the which command doesn't find > diskshadow.exe, even though it is there (in C:\Windows\System32). less than 10 days ago http://cygwin.com/ml/cygwin/2011-04/msg00098.html that refers to http://cygwin.com/ml/cygwin/2006-01/msg00444.html > > 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! =A0This is also true of libcurl-3.dll that I added to > C:\Windows\System32. =A0 =A0Windows 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