in reply to Execute wmic command in cmd
If you only want one piece of information, do it all as a single command:
@output = `wmic diskdrive get status`;; print "@output";; Status OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Execute wmic command in cmd
by mvip (Acolyte) on May 15, 2013 at 17:39 UTC | |
by BrowserUk (Patriarch) on May 15, 2013 at 17:44 UTC | |
by roboticus (Chancellor) on May 15, 2013 at 17:45 UTC | |
by mvip (Acolyte) on May 16, 2013 at 12:08 UTC | |
by marto (Cardinal) on May 16, 2013 at 12:18 UTC |