Re: WMIC

2009-05-13 Thread Gary Johnson
On 2009-05-13, Christian Franke wrote: > Dave Korn wrote: > >Bruno Galindro da Costa wrote: > > > >>Christian, > >> > >> It Works perfectly for both! Can you explain why that commands > >>works and not only "wmic cpu list full&quo

Re: WMIC

2009-05-13 Thread Christian Franke
Dave Korn wrote: Bruno Galindro da Costa wrote: Christian, It Works perfectly for both! Can you explain why that commands works and not only "wmic cpu list full"? The wmic.exe file imports console functions like SetConsoleMode() and SetConsoleScreenBufferSize() fro

Re: WMIC

2009-05-12 Thread Dave Korn
Bruno Galindro da Costa wrote: > Christian, > >It Works perfectly for both! Can you explain why that commands > works and not only "wmic cpu list full"? > 2009/5/12 Christian Franke >> Bruno Galindro da Costa wrote: >>>I´m trying to run the WMIC

Re: WMIC

2009-05-12 Thread Bruno Galindro da Costa
Christian, It Works perfectly for both! Can you explain why that commands works and not only "wmic cpu list full"? Thank you very much! 2009/5/12 Christian Franke : > Bruno Galindro da Costa wrote: >> >>    I´m trying to run the WMIC (WMI Command-line interface) v

Re: WMIC

2009-05-12 Thread Christian Franke
Bruno Galindro da Costa wrote: > >I´m trying to run the WMIC (WMI Command-line interface) via Cygwin > to parse the results with grep, awk, etc. But, when I try to run it, > the cursor indicates that the command is executing, but nothing is > printed on screen and the cursor

WMIC

2009-05-12 Thread Bruno Galindro da Costa
Hi, I´m trying to run the WMIC (WMI Command-line interface) via Cygwin to parse the results with grep, awk, etc. But, when I try to run it, the cursor indicates that the command is executing, but nothing is printed on screen and the cursor is not released. I maked a batch script (.cmd

Re: WMIC hangs

2007-04-28 Thread Christopher Faylor
>> Problem: when calling wmic.exe cmd line hangs, the process is being >>>> created, >>>> but nothing else. Once you kill wmic.exe it releases the cmd line back. >>>> >>>> Is there an issue with wmic or is there an environment var I nee

Re: WMIC hangs

2007-04-27 Thread Larry Hall (Cygwin)
Will/Strobel wrote: > I have changed the cygwin environment variable to only say ntsec for both > console user as well for the sshd service and still no luck. I have found > that if I call cmd then type {start wmic MyCommand....} the wmic command > will run, but that defeats my purpo

Re: WMIC hangs

2007-04-27 Thread Larry Hall (Cygwin)
> but nothing else. Once you kill wmic.exe it releases the cmd line back. >>> >>> Is there an issue with wmic or is there an environment var I need to set? >> 'ssh' uses a pty by default for I/O which Windows programs don't understand. >> See the inf

Re: WMIC hangs

2007-04-27 Thread Christopher Faylor
releases the cmd line back. >> >> Is there an issue with wmic or is there an environment var I need to set? > >'ssh' uses a pty by default for I/O which Windows programs don't understand. >See the information on 'tty' at: > ><http://cygwin.com/cyg

Re: WMIC hangs

2007-04-27 Thread Larry Hall (Cygwin)
Will/Strobel wrote: > Objective: ssh into windows run to wmic.exe > > Problem: when calling wmic.exe cmd line hangs, the process is being created, > but nothing else. Once you kill wmic.exe it releases the cmd line back. > > Is there an issue with wmic or is there an environ

WMIC hangs

2007-04-27 Thread Will/Strobel
Objective: ssh into windows run to wmic.exe Problem: when calling wmic.exe cmd line hangs, the process is being created, but nothing else. Once you kill wmic.exe it releases the cmd line back. Is there an issue with wmic or is there an environment var I need to set? -- Will Strobel LayerX