difference running from cmd vs. bash?

Linda Walsh cygwin@tlinx.org
Thu Sep 2 00:15:00 GMT 2010




Normally I don't bother with cmd, and only run bash at the
command prompt, but I ran into a problem on my system.

To possibly fix some problem it was suggested I try the
'winmgmt' command with 2 different switches,  Thing
is, it fails when I run it from bash, but works fine when I run
it from cmd.exe

In Bash:
>winmgmt /verifyrepository
WMI repository verification failed
Error code:  0x8007007E
>winmgmt /salvagerepository
WMI repository salvage failed
Error code:  0x8007007E



In cmd.exe:
>winmgmt /verifyrepository
WMI repository is consistent
>winmgmt /salvagerepository
WMI repository is consistent

Why/how would winmgmt care what shell I was using?







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