On 18 March 2013 06:26, Edward Peschko wrote: >>> All, > >>> We are having difficulties running various windows utilities through >>> bash. Through a regular windows cmd, one can run commands like >>> diskshadow without issue, but with bash, we are having problems with >>> COM calls not working. We have posted an example below. > >> I'd recommend reporting this to MS if you haven't already. While >> there may be something in Cygwin that needs tweaking for this, it >> would be best if MS could diagnose what is failing and why. That >> would make any Cygwin fix happen quicker. > > Larry, > > After further analysis, it looks like the reason diskshadow is failing > is because it requires a fully-fledged 64 bit running environment to > execute COM calls. As a workaround (and for whomever runs into this > same issue and needs a fix) we have downloaded ActiveState's 64 bit > native perl, and are doing: > > perl -e "system('cmd')"; > > to get a native 64 bit environment, which allows the COM calls to > happen for diskshadow.
The 64-bit cmd.exe can be invoked directly like this: /cygdrive/c/sysnative/cmd Andy -- 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