X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,TW_NM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4C7EEC78.1050008@tlinx.org> Date: Wed, 01 Sep 2010 17:14:48 -0700 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: difference running from cmd vs. bash? X-Stationery: 0.4.10 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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