cygwin 1.7 / windows2008 R2 : system32 commands not found with cygwin
sven-eric.berard@sanofi-aventis.com
sven-eric.berard@sanofi-aventis.com
Fri Sep 17 10:48:00 GMT 2010
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 576 cluster.exe
1 File(s) 216 576 bytes
0 Dir(s) 6 198 706 176 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=$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 cygwin bash session ?
2 - Why doesn't the cluster command not working (Error : The resource loader 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 ==> 322
CMD : dir c:\windows\system32\*.exe | wc -l ==> 427
The cluster command is working as expected on a bash session when I'm on a windows2003 server
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
More information about the Cygwin
mailing list