X-Recipient: archive-cygwin AT delorie DOT 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: To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi, I have windows 2008 R2 servers with cygwin 1.7 installed. When i want to execute the cluster.exe command, I have : seberard AT 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 AT 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 AT 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 AT FLOSAPPTEST02 /cygdrive/c/windows $ PATH=3D$PATH:$(dirname $(cygpath -ua $(find . -name "cluster.exe") )) Then I tried to run the cluster command : seberard AT 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