X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0	tests=BAYES_20,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: cygwin 1.7 / windows2008 R2 : system32 commands not found with cygwin
Date: Fri, 17 Sep 2010 10:57:27 +0200
Message-ID: <998B0884046B7741A59ADE0616FAB862010A1C4A@flosmxsusr01.pharma.aventis.com>
From: <sven-eric.berard@sanofi-aventis.com>
To: <cygwin@cygwin.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

I have windows 2008 R2 servers with cygwin 1.7 installed.
When i want to execute the cluster.exe command, I have  :
seberard@FLOSAPPTEST02 /cygdrive/c/windows/system32
$ ./cluster res
bash: ./cluster: No such file or directory

On a DOS prompt the command works..

Then I do a 'ls cluster*' in the bash session :
seberard@FLOSAPPTEST02 /cygdrive/c/windows/system32
$ ls cluster*
ls: cannot access cluster*: No such file or directory

On the CMD session :
C:\Windows\System32>dir cluster*
 Volume in drive C is system
 Volume Serial Number is 8C17-0D89

 Directory of C:\Windows\System32

14/07/2009  03:39           216=A0576 cluster.exe
               1 File(s)        216=A0576 bytes
               0 Dir(s)   6=A0198=A0706=A0176 bytes free

Finally I cd to windows directory and do a find cluster.exe :
seberard@FLOSAPPTEST02 /cygdrive/c/windows
$ find . -name "cluster.exe"
./winsxs/amd64_microsoft-windows-f..rcluster-clusterexe_31bf3856ad364e35_6.=
1.760
0.16385_none_6edae2036546d986/cluster.exe

I added this directory to the PATH variable :
seberard@FLOSAPPTEST02 /cygdrive/c/windows
$ PATH=3D$PATH:$(dirname $(cygpath -ua $(find . -name "cluster.exe") ))

Then I tried to run the cluster command :
seberard@FLOSAPPTEST02 /cygdrive/c/windows
$ cluster res
The resource loader cache doesn't have loaded MUI entry.
The resource loader cache doesn't have loaded MUI entry.

Questions :
1 - Why are some system32 commands seen in a dos session and not in a cygwi=
n bash session ?
2 - Why doesn't the cluster command not working (Error : The resource loade=
r cache doesn't have loaded MUI entry )

I think the cluster command is not the only one missing :
Bash : ls /cygdrive/c/windows/system32/*.exe | wc -l  =3D=3D> 322
CMD  : dir c:\windows\system32\*.exe | wc -l =3D=3D> 427

The cluster command is working as expected on a bash session when I'm on a =
windows2003 server=20

Thanks for your help

Sven-Eric

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

